Changes between Initial Version and Version 1 of Ticket #16319


Ignore:
Timestamp:
Jun 22, 2011, 3:28:02 PM (13 years ago)
Author:
Aymeric Augustin
Comment:

Just reformatted code excerpt.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16319 – Description

    initial v1  
    11sample:
    22
     3{{{
    34class CreatePersonView(CreateView):
    45    model = Person
    56    success_url = "/"
    67    success_message = "%(name)s was created successfully"
     8}}}
    79
    8 
    9 after object created calls messages.sucess_message
     10after object created calls `messages.sucess_message`
    1011
    1112:-)
Back to Top