amélioration de l'outil d'édition
This commit is contained in:
		@@ -84,10 +84,8 @@ msgid "Status"
 | 
			
		||||
msgstr "Status"
 | 
			
		||||
 | 
			
		||||
#: agenda_culturel/models.py:70
 | 
			
		||||
#, fuzzy
 | 
			
		||||
#| msgid "Day of the event"
 | 
			
		||||
msgid "Category of the event"
 | 
			
		||||
msgstr "Date de l'événement"
 | 
			
		||||
msgstr "Catégorie de l'événement"
 | 
			
		||||
 | 
			
		||||
#: agenda_culturel/models.py:72
 | 
			
		||||
msgid "Day of the event"
 | 
			
		||||
@@ -208,3 +206,6 @@ msgstr "ce mois-ci"
 | 
			
		||||
 | 
			
		||||
msgid "next month"
 | 
			
		||||
msgstr "le mois prochain"
 | 
			
		||||
 | 
			
		||||
msgid "Add another"
 | 
			
		||||
msgstr "Ajouter une autre"
 | 
			
		||||
@@ -287,13 +287,14 @@ def tag_list(request):
 | 
			
		||||
 | 
			
		||||
class EventCreateView(CreateView):
 | 
			
		||||
    model = Event
 | 
			
		||||
    fields = ["title"] # TODO add elements
 | 
			
		||||
    fields = '__all__'
 | 
			
		||||
 | 
			
		||||
    template_name_suffix = "_create_form"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class EventUpdateView(LoginRequiredMixin, UpdateView):
 | 
			
		||||
    model = Event
 | 
			
		||||
    fields = ["title"] # TODO add elements
 | 
			
		||||
    fields = '__all__'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class EventDeleteView(LoginRequiredMixin, DeleteView):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user