You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the instructions in the readme, I get stuck at this command: python manage.py syncdb --noinput
igemserver|~/py/HFUT-China_2015-1.0> python manage.py syncdb --noinput
SystemCheckError: System check identified some issues:
ERRORS:
accounts.loginRecord.login_time: (fields.E160) The options auto_now, auto_now_add, and default are mutually exclusive. Only one of these options may be present.
WARNINGS:
accounts.UserSafety.key_expires: (fields.W161) Fixed default value provided.
HINT: It seems you set a fixed date / time / datetime value as default for this field. This may not be what you want. If you want to have the current date as default, use `django.utils.timezone.now`
The text was updated successfully, but these errors were encountered:
The reason for this issue seems to be that I was testing with the latest Django version (1.8) but you (presumably) have been developing on 1.6. https://code.djangoproject.com/ticket/24678
Django 1.8 enforces new rules on text fields.
Your readme doesn't mention which django version you were working with. This information is quite important.
After following the instructions in the readme, I get stuck at this command:
python manage.py syncdb --noinput
The text was updated successfully, but these errors were encountered: