diff --git a/friends_map/urls.py b/friends_map/urls.py index 4ba1503..572fe37 100644 --- a/friends_map/urls.py +++ b/friends_map/urls.py @@ -18,5 +18,6 @@ from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), + path('accounts/', include('django.contrib.auth.urls')), path('', include('map.urls')), ] diff --git a/map/templates/map/base.html b/map/templates/map/base.html index 81e58da..6623205 100644 --- a/map/templates/map/base.html +++ b/map/templates/map/base.html @@ -22,7 +22,7 @@ {{ app.site.name }} · {% block title %}Home{% endblock %} -{#{% include 'map/navbar.html' %}#} +{% include 'map/navbar.html' %}
{% for message in messages %} diff --git a/map/templates/map/navbar.html b/map/templates/map/navbar.html new file mode 100644 index 0000000..c605dc1 --- /dev/null +++ b/map/templates/map/navbar.html @@ -0,0 +1,37 @@ + diff --git a/map/urls.py b/map/urls.py index da3fc9a..8cf724b 100644 --- a/map/urls.py +++ b/map/urls.py @@ -2,5 +2,5 @@ from django.urls import path from map import views urlpatterns = [ - path('map/', views.MapView.as_view()), + path('', views.MapView.as_view(), name='map'), ]