I want to be able to send a message using the new messages framework. Something along the lines of :
...
if formset.is_valid
return HttpResponseRedirect( some page )
messages.add_message(request,messages.INFO, '%i objects added') %formset.number_of_forms
But two questions:
- Im not sure if i should put the messages before or after the render to response
- Is there a method akin to
number_of_forms