2024-06-19 01:29:05 -05:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2024-06-19 05:41:13 -05:00
|
|
|
from .models import LegislativeText, LegislationBook
|
|
|
|
|
2024-06-19 12:41:41 -05:00
|
|
|
class LegislativeTextAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('__str__', 'legislation_title', 'school')
|
|
|
|
|
|
|
|
class LegislationBookAdmin(admin.ModelAdmin):
|
|
|
|
exclude = ("has_performed_export",)
|
|
|
|
|
|
|
|
admin.site.register(LegislativeText, LegislativeTextAdmin)
|
|
|
|
admin.site.register(LegislationBook, LegislationBookAdmin)
|