from .views import DreamListView, DreamViewView, DreamDeleteView, DreamEditView, DreamCreateView, ThemeListView, ThemeEditView, ThemeCreateView, ThemeDeleteView, NotificationCreateView, NotificationDeleteView, NotificationEditView, NotificationListView from django.urls import path, include app_name = "dreams" urlpatterns = [ path('', DreamListView.as_view(), name="dream_list"), path('dream//view/', DreamViewView.as_view(), name="dream_view"), path('dream//edit/', DreamEditView.as_view(), name="dream_edit"), path('dream//delete/', DreamDeleteView.as_view(), name="dream_delete"), path('dream/new/', DreamCreateView.as_view(), name="dream_create"), path('theme/', ThemeListView.as_view(), name="theme_list"), path('theme//edit/', ThemeEditView.as_view(), name="theme_edit"), path('theme/new/', ThemeCreateView.as_view(), name="theme_create"), path('theme//delete/', ThemeDeleteView.as_view(), name="theme_delete"), path('notification/', NotificationListView.as_view(), name="notification_list"), path('notification//edit/', NotificationEditView.as_view(), name="notification_edit"), path('notification//delete/', NotificationDeleteView.as_view(), name="notification_delete"), path('notification/new/', NotificationCreateView.as_view(), name="notification_create"), ]