Add full example of front-office usage
This commit is contained in:
@@ -3,6 +3,11 @@ from __future__ import unicode_literals
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
|
||||
from example_project import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', admin.site.urls),
|
||||
path('', views.ExampleListView.as_view(), name='list'),
|
||||
path('create', views.ExampleCreateView.as_view(), name='create'),
|
||||
path('update/<int:pk>', views.ExampleUpdateView.as_view(), name='update'),
|
||||
path('admin', admin.site.urls),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user