mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-09 06:18:05 +00:00
11 lines
327 B
Python
11 lines
327 B
Python
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)
|