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
Raw Normal View History

2010-09-18 17:20:50 +02:00
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)