Skip to content

Commit

Permalink
DBC22-2330: added ferry model admin
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd committed Nov 28, 2024
1 parent 4e30a4f commit 575b45e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/backend/apps/ferry/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from apps.event.models import Ferry
from django.contrib import admin
from django.contrib.admin import ModelAdmin


class FerryAdmin(ModelAdmin):
readonly_fields = ('id', )


admin.site.register(Ferry, FerryAdmin)

0 comments on commit 575b45e

Please sign in to comment.