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
310 B
10 lines
310 B
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)
|
|
|