1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-25 14:04:41 +00:00
2010-11-04 12:41:42 +00:00

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)