mirror of
https://github.com/QingdaoU/Spirit.git
synced 2025-01-16 09:15:59 +00:00
readme upgrade note
This commit is contained in:
parent
a6ecd9bffe
commit
65de27b2f8
@ -59,13 +59,12 @@ Visit (http://127.0.0.1:8000/)
|
||||
## Updating
|
||||
|
||||
> *Note:* If you are *upgrading* from any release *previous to v0.3*:
|
||||
> * Run `python manage.py migrate djconfig --fake-initial`
|
||||
> * Add `AUTH_USER_MODEL = 'spirit.User'` (or your custom user model) to your `settings.py`.
|
||||
> * Remove the `AbstractForumUser` from your custom user model (if you have one).
|
||||
> * Change `spirit.models.AbstractUser` to `django.contrib.auth.models.AbstractUser` in your custom user model (if you have one).
|
||||
>
|
||||
> *Deprecation notice:* `AbstractForumUser` and `AbstractUser` will no longer exist in future releases.
|
||||
>
|
||||
> * Run `python manage.py migrate djconfig --fake-initial`
|
||||
|
||||
Run:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user