This commit is contained in:
pacnpal
2024-10-29 01:09:14 -04:00
parent 74a1b730b9
commit 158f25b24b
195 changed files with 5000 additions and 1213 deletions

View File

@@ -8,7 +8,7 @@ class ParkAdmin(SimpleHistoryAdmin):
list_filter = ('status', 'owner')
search_fields = ('name', 'location', 'description')
prepopulated_fields = {'slug': ('name',)}
readonly_fields = ('created_at', 'updated_at')
readonly_fields = ('id', 'created_at', 'updated_at')
@admin.register(ParkArea)
class ParkAreaAdmin(SimpleHistoryAdmin):
@@ -16,4 +16,4 @@ class ParkAreaAdmin(SimpleHistoryAdmin):
list_filter = ('park',)
search_fields = ('name', 'description')
prepopulated_fields = {'slug': ('name',)}
readonly_fields = ('created_at', 'updated_at')
readonly_fields = ('id', 'created_at', 'updated_at')