Commit 8b68cdd3 authored by Titia de Castro's avatar Titia de Castro

added details url to announcements urls

parent d62ea444
from django.urls import path from django.urls import path
from .views import index from .views import index, AnnouncementDetailView
urlpatterns = [ urlpatterns = [
path('', index, name='index'), path('', index, name='index'),
path('<int:pk>/details', AnnouncementDetailView.as_view(), name='announcement-details'),
] ]
app_name = 'announcements' app_name = 'announcements'
\ No newline at end of file
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment