Skip to content
Snippets Groups Projects
Commit 5fd351e0 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

bugfix in url mapping

parent dc29aeee
No related branches found
No related tags found
4 merge requests!74Acceptance,!73Master,!56Dev nico,!55Dev nico
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
{% include 'taskdatabase/pagination.html' %} {% include 'taskdatabase/pagination.html' %}
</div> </div>
</div> </div>
<p class="footer"> Version 1.0.0 (9 mar 2021 - 9:00) <p class="footer"> Version 1.0.0 (9 mar 2021 - 10:00)
</div> </div>
......
...@@ -7,12 +7,12 @@ urlpatterns = [ ...@@ -7,12 +7,12 @@ urlpatterns = [
# authentication # authentication
path('accounts/', include('django.contrib.auth.urls')), path('accounts/', include('django.contrib.auth.urls')),
# specialization of the above, with more control # specialization of the above, with more control
path('login/', auth_views.LoginView.as_view(template_name='registration/login.html')), path('login/', auth_views.LoginView.as_view(template_name='registration/login.html')),
# --- GUI --- # --- GUI ---
path('', views.IndexView.as_view(), name='homepage'), path('', views.IndexView.as_view(), name='homepage'),
path('<page>', views.IndexView.as_view(), name='homepage_page'),
path('task_details/<int:id>/<page>', views.TaskDetails, name='task-details'), path('task_details/<int:id>/<page>', views.TaskDetails, name='task-details'),
path('task_details/', views.TaskDetails, name='task-details'), path('task_details/', views.TaskDetails, name='task-details'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment