mirror of https://github.com/r4sas/py-i2phosts
Hidden Z
14 years ago
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
from django.contrib import admin |
||||||
|
|
||||||
|
from extsources.models import ExternalSource |
||||||
|
|
||||||
|
|
||||||
|
class ExternalSourceAdmin(admin.ModelAdmin): |
||||||
|
list_display = ('name', 'url', 'description', 'last_success', 'last_modified', 'etag', 'active') |
||||||
|
list_editable = ['active'] |
||||||
|
|
||||||
|
admin.site.register(ExternalSource, ExternalSourceAdmin) |
Loading…
Reference in new issue