Browse Source

Add extsources to django admin

pull/1/head
Hidden Z 14 years ago
parent
commit
342ba713a4
  1. 10
      web/extsources/admin.py

10
web/extsources/admin.py

@ -0,0 +1,10 @@
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)
Loading…
Cancel
Save