summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nccps2018/urls.py2
-rw-r--r--static/website/templates/navbar.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/nccps2018/urls.py b/nccps2018/urls.py
index f48a5dc..0913857 100644
--- a/nccps2018/urls.py
+++ b/nccps2018/urls.py
@@ -21,7 +21,7 @@ from django.contrib.auth import views as auth_views
urlpatterns = [
re_path(r'^', include('website.urls', namespace='website')),
re_path(r'^nccps-2018/accounts/',
- include(('django.contrib.auth.urls', 'auth_views'), namespace='auth_views')),
+ include(('django.contrib.auth.urls', 'auth'), namespace='auth')),
path('nccps-2018/admin/', admin.site.urls),
re_path(r'^', include('social.apps.django_app.urls', namespace='social')),
diff --git a/static/website/templates/navbar.html b/static/website/templates/navbar.html
index 1f2ac32..001fce8 100644
--- a/static/website/templates/navbar.html
+++ b/static/website/templates/navbar.html
@@ -42,20 +42,20 @@
<li><a href="{% url 'website:cfp' %}">cfp</a></li>
{% if user.is_authenticated %}
<li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="{% url 'auth_views:login' %}" >
+ <a class="dropdown-toggle" data-toggle="dropdown" href="{% url 'auth:login' %}" >
<i class="fa fa-user" aria-hidden="true"></i>
{{ user.username }}!<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="{% url 'website:proposal' %}">Submit your Paper</a></li>
<li><a href="{{SITE_URL}}/#registration">Book your Ticket</a></li>
- <li><a href="{% url 'auth_views:logout' %}?next=/"><i class="fa fa-sign-out"></i>&nbsp;Logout</a></li>
+ <li><a href="{% url 'auth:logout' %}?next=/"><i class="fa fa-sign-out"></i>&nbsp;Logout</a></li>
</ul>
</li>
{% else %}
- <li><a href="{% url 'auth_views:login' %}">Login</a></li>
+ <li><a href="{% url 'auth:login' %}">Login</a></li>
{% endif %}
</ul>
</div>