gramps/src/web/grampsdb/admin.py

7 lines
143 B
Python
Raw Normal View History

from web.grampsdb.models import *
from django.contrib import admin
for type_name in get_tables("all"):
admin.site.register(type_name[1])