mirror of
https://github.com/Damillora/Altessimo
synced 2024-11-24 22:57:32 +00:00
14 lines
316 B
Python
14 lines
316 B
Python
from django.contrib import admin
|
|
|
|
from . import models
|
|
|
|
|
|
class SongAdmin(admin.ModelAdmin):
|
|
search_fields = ['romanized_title','title']
|
|
|
|
class OutsideSongAdmin(admin.ModelAdmin):
|
|
search_fields = ['title']
|
|
|
|
admin.site.register(models.Song, SongAdmin)
|
|
admin.site.register(models.OutsideSong, OutsideSongAdmin)
|