mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2026-01-02 03:27:02 -05:00
feat: Implement initial schema and add various API, service, and management command enhancements across the application.
This commit is contained in:
@@ -21,16 +21,10 @@ class ParkArea(TrackedModel):
|
||||
help_text="Park this area belongs to",
|
||||
)
|
||||
name = models.CharField(max_length=255, help_text="Name of the park area")
|
||||
slug = models.SlugField(
|
||||
max_length=255, help_text="URL-friendly identifier (unique within park)"
|
||||
)
|
||||
slug = models.SlugField(max_length=255, help_text="URL-friendly identifier (unique within park)")
|
||||
description = models.TextField(blank=True, help_text="Detailed description of the area")
|
||||
opening_date = models.DateField(
|
||||
null=True, blank=True, help_text="Date this area opened"
|
||||
)
|
||||
closing_date = models.DateField(
|
||||
null=True, blank=True, help_text="Date this area closed (if applicable)"
|
||||
)
|
||||
opening_date = models.DateField(null=True, blank=True, help_text="Date this area opened")
|
||||
closing_date = models.DateField(null=True, blank=True, help_text="Date this area closed (if applicable)")
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if not self.slug:
|
||||
|
||||
Reference in New Issue
Block a user