42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
|
|
from django.contrib import admin
|
|
from django.urls import path, include
|
|
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
from django.views.generic import TemplateView
|
|
|
|
|
|
from . import views
|
|
|
|
app_name = "oef"
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"entries", views.EntryTableView.as_view(), name="entry_table_view"
|
|
),
|
|
path(
|
|
"formats", views.formats_view, name="formats_view"
|
|
),
|
|
path(
|
|
"formats/create", views.FormatsCreateView.as_view(), name="format_create"
|
|
),
|
|
path(
|
|
"entries/replace_questions", views.replace_questions, name="replace_questions"
|
|
),
|
|
path(
|
|
"entries/<int:pk>/update", views.EntryUpdateView.as_view(), name="entry_update"
|
|
),
|
|
path(
|
|
"entries/<int:pk>/detail", views.EntryDetailView.as_view(), name="entry_detail"
|
|
),
|
|
path(
|
|
"entries/<int:pk>/detail/formats", views.entry_detail_formats, name="entry_detail_formats"
|
|
),
|
|
path(
|
|
"formats/<int:pk>/update", views.FormatsUpdateView.as_view(), name="format_update"
|
|
),
|
|
path(
|
|
"formats/<int:pk>/apply", views.formats_apply, name="formats_apply"
|
|
),
|
|
|
|
] |