This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
worblehat-old/python/web/library/admin.py

8 lines
240 B
Python

from web.library.models import *
from django.contrib import admin
mod = [Category, BookSeries, ReferenceType, Reference, Book, AlternativeTitle, Copy, Person, Relation, BookPerson, Placement]
for model in mod:
admin.site.register(model)