Skip to content

Instantly share code, notes, and snippets.

@leonardoo
Created May 6, 2015 22:24
Show Gist options
  • Save leonardoo/df06b4d8887c7adca449 to your computer and use it in GitHub Desktop.
Save leonardoo/df06b4d8887c7adca449 to your computer and use it in GitHub Desktop.
from django.core.urlresolvers import reverse
class telephoneUpdate(UpdateView):
def get_success_url(self):
return reverse("url_name",args=[self.request.user.id])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment