-
Notifications
You must be signed in to change notification settings - Fork 82
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
SystemCheckError #1
Comments
I tried to see if I can fix it. For that reason generated a separate Django project, added "rest_registration" and the setting from your current README. It executes without errors
but
finds several errors in the tests provided. One in particular, which relates to Django Rest Framework tokens. It seems that the current DRF is not supported anymore. The setup has not changed anything on the behavior of
It continues to fail with the above message. I forked your repository and corrected some minor pep8 issues but overall found some I would not be sure how to fix. |
Hi, thanks for reporting the bug. I was able to reproduce it with the newest version of Django and DRF. I'm looking into it right now, hopefully I will be able to fix the issue during this weekend. |
* providing initial REST_REGISTRATION setting to avoid system check errors when running tests * bumping to Django 1.10 and fixing is_authenticated Django API change * fixing missing e-mail in register tests causing email to not be sent
Hi, It looks that I fixed the problem. Looks that from Django 1.11 onwards the test runner runs the system checks (see https://docs.djangoproject.com/en/2.0/releases/1.11/#tests) so I added minimal setup in test settings to avoid this problem. The changes are already in the I also found some changes introduced in Django 1.10, like However, I wasn't able to reproduce any problems with newest DRF version. I even created example application I also looked at your branch Hope this helps. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The following command generates the attached error log
'''
Creating test database for alias 'default'...
SystemCheckError: System check identified some issues:
ERRORS:
?: (rest_registration.E001) RESET_PASSWORD_VERIFICATION_URL is not set
?: (rest_registration.E002) register verification is enabled, but REGISTER_VERIFICATION_URL is not set
?: (rest_registration.E003) register email verification is enabled, but REGISTER_EMAIL_VERIFICATION_URL is not set
?: (rest_registration.E004) VERIFICATION_FROM_EMAIL is not set
'''
The text was updated successfully, but these errors were encountered: