urls reverse django code example
Example: django httpresponseredirect reverse app url
def get_success_url(self):
messages.success(self.request, 'Profile Updated Successfully')
return reverse('accounts:profile')
def get_success_url(self):
messages.success(self.request, 'Profile Updated Successfully')
return reverse('accounts:profile')