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

6 lines
89 B
Python

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