django1/tests/proxy_models/admin.py

8 lines
187 B
Python

from django.contrib import admin
from .models import ProxyTrackerUser, TrackerUser
site = admin.AdminSite(name='admin_proxy')
site.register(TrackerUser)
site.register(ProxyTrackerUser)