Sign in
gerrit
/
gerrit-attic
/
b4a05fbced23d75525b9f349a70e681887c04767
/
.
/
webapp
/
django
/
contrib
/
sites
/
admin.py
blob: 2442c242924a088194cc2482b6e381321dbbf613 [
file
] [
log
] [
blame
]
from
django
.
contrib
import
admin
from
django
.
contrib
.
sites
.
models
import
Site
class
SiteAdmin
(
admin
.
ModelAdmin
):
list_display
=
(
'domain'
,
'name'
)
search_fields
=
(
'domain'
,
'name'
)
admin
.
site
.
register
(
Site
,
SiteAdmin
)