0
0
mirror of https://github.com/django/django.git synced 2024-11-25 07:59:34 +01:00
django/tests/proxy_models/admin.py
2022-02-07 20:37:05 +01:00

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)