add notes app
This commit is contained in:
parent
acb398be1c
commit
a29376b3c5
38 changed files with 1720 additions and 45 deletions
20
app/notizen/urls.py
Normal file
20
app/notizen/urls.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
app_name = 'notizen'
|
||||
|
||||
urlpatterns = [
|
||||
# Main note views
|
||||
path('', views.notizen_list, name='list'),
|
||||
path('neu/', views.notiz_create, name='create'),
|
||||
path('<int:pk>/', views.notiz_detail, name='detail'),
|
||||
path('<int:pk>/bearbeiten/', views.notiz_edit, name='edit'),
|
||||
path('<int:pk>/loeschen/', views.notiz_delete, name='delete'),
|
||||
|
||||
# Object attachment views
|
||||
path('anhaengen/<int:content_type_id>/<str:object_id>/', views.attach_notiz, name='attach'),
|
||||
path('objekt/<int:content_type_id>/<str:object_id>/', views.object_notizen, name='object_notizen'),
|
||||
|
||||
# Page attachment views
|
||||
path('seite/<str:page_identifier>/anhaengen/', views.attach_page_notiz, name='attach_page'),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue