Add: import urls modal to Admin

This commit is contained in:
Aroy-Art 2024-09-09 22:59:44 +02:00
parent 9d43ca1cc5
commit 680c60f190
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View 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)