mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-10 06:47:58 +00:00
11 lines
310 B
Python
11 lines
310 B
Python
|
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)
|