mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 07:51:09 -05:00
- Implemented OperatorListView and OperatorDetailView for managing operators. - Created corresponding templates for operator listing and detail views. - Added PropertyOwnerListView and PropertyOwnerDetailView for managing property owners. - Developed templates for property owner listing and detail views. - Established relationships between parks and operators, and parks and property owners in the models. - Created migrations to reflect the new relationships and fields in the database. - Added admin interfaces for PropertyOwner management. - Implemented tests for operators and property owners.
10 lines
284 B
Python
10 lines
284 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = "operators"
|
|
|
|
urlpatterns = [
|
|
# Operator list and detail views
|
|
path("", views.OperatorListView.as_view(), name="operator_list"),
|
|
path("<slug:slug>/", views.OperatorDetailView.as_view(), name="operator_detail"),
|
|
] |