1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-24 22:57:32 +00:00
Altessimo/artists/admin.py

9 lines
216 B
Python
Raw Normal View History

2020-12-15 21:32:20 +00:00
from django.contrib import admin
from . import models
# Register your models here.
2020-12-16 14:26:15 +00:00
class ArtistAdmin(admin.ModelAdmin):
search_fields = ['romanized_name','name']
admin.site.register(models.Artist, ArtistAdmin)