<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def form_valid(self, form):
 """Add success message"""

        response = super().form_valid(form)
        messages.success(self.request, "Successfully created ({})".format(self.object))
        return response