Added user message feed back when editing fleet description
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sat, 7 Aug 2010 14:48:50 +0000 (14:48 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sat, 7 Aug 2010 14:48:50 +0000 (14:48 +0000)
bin/djais/views.py

index 4e69f26e31a6ddd1c36494fe7aac9571a9699f7b..4d4685363c02271e56d11b89f0c9c34f234a1173 100644 (file)
@@ -423,6 +423,7 @@ def fleet_edit(request, fleetname):
         if form.is_valid():
             fleet.description = form.cleaned_data['description']
             fleet.save()
+            request.user.info('Fleet description updated')
             return HttpResponseRedirect('/fleet/%s/' % fleet.name)
     else: # GET
         form = FleetEditForm(initial=initial)