gramps/src/webapp/grampsdb/admin.py

8 lines
175 B
Python
Raw Normal View History

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