Answer the question
In order to leave comments, you need to log in
How to fix 'The requested URL /accounts/login was not found on this server' error when using Django-registration for 1.6?
I downloaded a new version of django-registration, as advised here, which works with django 1.6:
https://github.com/macropin/django-registration#eg...
Installed, copied the registration folder to the project, made syncdb.
settings.py:
'INSTALLED_APPS = (..., 'registration',)
ACCOUNT_ACTIVATION_DAYS = 7'
'http://localhost/accounts/login/'
I get'404 Not Found The requested URL /accounts/login/ was not found on this server'.
'localhost:443:0 server certificate does NOT include an ID which matches the server name'
'::1 - - [13/Oct/2014:21:45:12 +0400] "GET /accounts/login/ HTTP/1.1" 404 213'
Answer the question
In order to leave comments, you need to log in
Everything turned out to be easier - I once changed the root of the site (I'm trying to remember how), but the old addresses were preserved in the view. that is, you need not /accounts/login/ , but projectName/accounts/login/
And what about Apache? Do you use Apache for development? Open it with normal runserver and look at the error and the urls you have in the project...
Well, probably according to the manual: https://django-registration-redux.readthedocs.org/...
it is necessary to register routes in urls'py.
(r'^accounts/', include('registration.backends.default.urls')),
You did everything right, set these DNS, add the domain to the hoster panel and that's it, wait from 8 to 72 hours, then see if the stub opens.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question