Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation stuck at db initialization #1

Open
igemsoftwareadmin opened this issue Sep 21, 2015 · 1 comment
Open

installation stuck at db initialization #1

igemsoftwareadmin opened this issue Sep 21, 2015 · 1 comment

Comments

@igemsoftwareadmin
Copy link
Member

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`
@igemsoftwareadmin
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant