Add operators and property owners functionality

- 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.
This commit is contained in:
pacnpal
2025-07-04 14:49:36 -04:00
parent 8360f3fd43
commit 751cd86a31
80 changed files with 2943 additions and 2358 deletions

View File

@@ -22,7 +22,9 @@ urlpatterns = [
path("rides/", include("rides.urls", namespace="rides")),
# Other URLs
path("reviews/", include("reviews.urls")),
path("companies/", include("companies.urls")),
path("operators/", include("operators.urls", namespace="operators")),
path("property-owners/", include("property_owners.urls", namespace="property_owners")),
path("manufacturers/", include("manufacturers.urls", namespace="manufacturers")),
path("designers/", include("designers.urls", namespace="designers")),
path("photos/", include("media.urls", namespace="photos")), # Add photos URLs
path("search/", include("search.urls", namespace="search")),