Initial commit of the new events app
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from .models import EventType
|
||||
|
||||
class EventTypeAdmin(admin.ModelAdmin):
|
||||
readonly_fields = ('name', 'get_label')
|
||||
|
||||
|
||||
admin.site.register(EventType, EventTypeAdmin)
|
||||
Reference in New Issue
Block a user