1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-24 22:57:32 +00:00
Altessimo/artists/admin.py
2020-12-16 21:26:54 +07:00

9 lines
216 B
Python

from django.contrib import admin
from . import models
# Register your models here.
class ArtistAdmin(admin.ModelAdmin):
search_fields = ['romanized_name','name']
admin.site.register(models.Artist, ArtistAdmin)