changed recipe ingredient relation

This commit is contained in:
vabene1111
2020-06-25 21:45:16 +02:00
parent df912b8865
commit bda38f0647
6 changed files with 50 additions and 6 deletions

View File

@ -51,7 +51,7 @@ admin.site.register(Food)
class IngredientAdmin(admin.ModelAdmin):
list_display = ('recipe', 'food', 'amount', 'unit')
list_display = ('food', 'amount', 'unit')
admin.site.register(Ingredient, IngredientAdmin)