mirror of https://github.com/r4sas/py-i2phosts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
327 B
10 lines
327 B
from django.contrib import admin |
|
|
|
from pyi2phosts.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)
|
|
|