Add page titles
This commit is contained in:
parent
28c3908099
commit
71c5de49d3
3 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ class RecetteForm(forms.ModelForm):
|
|||
class RecetteAdmin(admin.ModelAdmin):
|
||||
list_display = ['nom', 'has_photo', 'has_photo_instr']
|
||||
form = RecetteForm
|
||||
save_on_top = True
|
||||
inlines = [IngredientInline]
|
||||
|
||||
def has_photo(self, obj):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue