Opened 13 years ago

Last modified 11 years ago

#16319 closed New feature

add success_message in ClassViews — at Initial Version

Reported by: wilsonpjunior@… Owned by: nobody
Component: contrib.messages Version: dev
Severity: Normal Keywords:
Cc: d1fffuz0r@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

sample:

class CreatePersonView(CreateView):

model = Person
success_url = "/"
success_message = "%(name)s was created successfully"

after object created calls messages.sucess_message

:-)

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top