diff --git a/recette/admin.py b/recette/admin.py index b918dd0..293b779 100644 --- a/recette/admin.py +++ b/recette/admin.py @@ -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): diff --git a/templates/index.html b/templates/index.html index 983c960..04d5b40 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,6 +1,8 @@ {% extends 'base.html' %} {% load thumbnail %} +{% block title %}Recherche{% endblock %} + {% block extrahead %}