from django.urls import path, include from . import views urlpatterns = [ path('', views.index, name='index'), path('login/', views.Login.as_view(), name='stammbaum-login'), path('logout/', views.logout, name='stammbaum-logout'), path('register/', views.register, name='stammbaum-register'), path('group//', views.index, name='group'), path('person//thumb/', views.image_preview, name='preview'), path('person//image/', views.image, name='image'), path('person//upload/', views.UploadImageView.as_view(), name='upload'), ]