mirror of
https://github.com/Hopiu/django.git
synced 2026-03-17 06:20:24 +00:00
7 lines
165 B
Python
7 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)
|