<reponame>stevethompsonstar/django-react-blog<filename>backend/profiles/admin.py
from django.contrib import admin

from .models import Subscriber

class SubscriberAdmin(admin.ModelAdmin):
    search_fields = ['email']

admin.site.register(Subscriber, SubscriberAdmin)

from django.contrib import admin

from .models import Subscriber

class SubscriberAdmin(admin.ModelAdmin):
    search_fields = ['email']

admin.site.register(Subscriber, SubscriberAdmin)