mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-27 20:23:45 +00:00
12 lines
329 B
Python
12 lines
329 B
Python
from django.contrib import admin
|
|
|
|
from scrapyorg.download.models import DownloadLink
|
|
|
|
|
|
class DownloadLinkAdmin(admin.ModelAdmin):
|
|
list_display = ("text", "address", "public_link", "created")
|
|
list_filter = ("public", "created")
|
|
search_fields = ("address", "text")
|
|
|
|
admin.site.register(DownloadLink, DownloadLinkAdmin)
|