1 2 3 4 5 6 7 8
from __future__ import absolute_import from django.contrib import admin from ..models.foo import Foo admin.site.register(Foo)