Add: import urls modal to Admin
This commit is contained in:
parent
9d43ca1cc5
commit
680c60f190
1 changed files with 9 additions and 0 deletions
9
archivist/apps/importer/admin.py
Normal file
9
archivist/apps/importer/admin.py
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
from .models import ImportSourceURLs
|
||||||
|
|
||||||
|
|
||||||
|
class ImportSourceURLsAdmin(admin.ModelAdmin):
|
||||||
|
list_display = ('url', 'added_by_user', 'last_imported', 'source_type', 'category', 'date_added')
|
||||||
|
|
||||||
|
admin.site.register(ImportSourceURLs, ImportSourceURLsAdmin)
|
Loading…
Reference in a new issue