mirror of
https://github.com/Hopiu/django.git
synced 2026-03-29 04:10:24 +00:00
8 lines
165 B
Python
8 lines
165 B
Python
|
|
from django.contrib import admin
|
||
|
|
|
||
|
|
from .models import Article, ArticleProxy
|
||
|
|
|
||
|
|
site = admin.AdminSite(name='admin')
|
||
|
|
site.register(Article)
|
||
|
|
site.register(ArticleProxy)
|