~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to urls.py

  • Committer: franku
  • Date: 2019-03-16 10:11:05 UTC
  • Revision ID: somal@arcor.de-20190316101105-jehrdkw42pl6ftrf
fixed url to make the login_required decorator work; this uses the Django default setting of LOGIN_URL, so we don't have to worry about this setting

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    url(r'^accounts/register/$', RegistrationView.as_view(
26
26
        form_class=RegistrationWithCaptchaForm), name='django_registration_register'),
27
27
    url(r'^accounts/', include('django_registration.backends.activation.urls')),
28
 
    url(r'^', include('django.contrib.auth.urls')),
 
28
    url(r'^accounts/', include('django.contrib.auth.urls')),
29
29
 
30
30
    url(r'^ratings/', include('star_ratings.urls', namespace='ratings', app_name='ratings')),
31
31
    # Formerly 3rd party