1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 14:28:03 +00:00
py-i2phosts/web/extsources/admin.py
2010-10-31 12:28:06 +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)