mirror of
https://github.com/django/django.git
synced 2024-11-18 15:34:16 +00:00
a429a502ea
This would break upcoming changes and AdminSite assumptions about having an app_config for each application that has registered models.
8 lines
187 B
Python
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)
|