week search
This commit is contained in:
parent
bd6f03491c
commit
eeed2fe503
1 changed files with 1 additions and 1 deletions
|
@ -35,6 +35,6 @@ admin.site.register(models.Comment, CommentAdmin)
|
||||||
|
|
||||||
|
|
||||||
class WeekAdmin(admin.ModelAdmin):
|
class WeekAdmin(admin.ModelAdmin):
|
||||||
search_fields = ['monday']
|
search_fields = ['monday', 'title']
|
||||||
|
|
||||||
admin.site.register(models.Week, WeekAdmin)
|
admin.site.register(models.Week, WeekAdmin)
|
||||||
|
|
Loading…
Reference in a new issue