Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from agro.models import *
- from agro.sources import *
- from django.contrib import admin
- class EntryAdmin(admin.ModelAdmin):
- list_display = ('title', 'url',)
- list_filter = ('source_type',)
- date_hierarchy = 'timestamp'
- admin.site.register(Entry, EntryAdmin)
- import_source_modules(class_name='Admin')
Add Comment
Please, Sign In to add comment