django1/tests/admin_scripts/complex_app/admin/foo.py

7 lines
90 B
Python

from django.contrib import admin
from ..models.foo import Foo
admin.site.register(Foo)