fixed meal type constraint

This commit is contained in:
vabene1111
2024-02-05 13:52:52 +01:00
parent e5303967df
commit 7e39e6fea5
2 changed files with 3 additions and 3 deletions

View File

@ -315,8 +315,8 @@ admin.site.register(MealPlan, MealPlanAdmin)
class MealTypeAdmin(admin.ModelAdmin):
list_display = ('name', 'created_by', 'order')
search_fields = ('name', 'created_by__username')
list_display = ('name', 'space', 'created_by', 'order')
search_fields = ('name', 'space', 'created_by__username')
admin.site.register(MealType, MealTypeAdmin)