1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-09 22:38:08 +00:00
py-i2phosts/pyi2phosts/extsources/admin.py
2010-11-04 13:40:58 +00:00

11 lines
321 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)