Commit bb47ad97 authored by Krophil's avatar Krophil
Browse files

Search field in Subscription admin area

parent 64c479a0
Pipeline #1403 passed with stage
in 7 minutes and 57 seconds
......@@ -25,5 +25,11 @@
from django.contrib import admin
from subscription.models import Subscription
from haystack.admin import SearchModelAdmin
class SubscriptionAdmin(SearchModelAdmin):
search_fields = ["member__username", "subscription_start", "subscription_end", "subscription_type"], SubscriptionAdmin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment