project sell info and initial synchro support
[redakcja.git] / src / sources / admin.py
1 from django.contrib import admin
2 from . import models
3
4
5 @admin.register(models.Source)
6 class SourceAdmin(admin.ModelAdmin):
7     list_display = ['name', 'modified_at', 'processed_at']
8     exclude = ['wikisource']
9
10     
11 @admin.register(models.BookSource)
12 class BookSourceAdmin(admin.ModelAdmin):
13     list_display = ['source', 'page_start', 'page_end', 'book']
14     raw_id_fields = ['source', 'book']