Created
May 6, 2015 22:24
-
-
Save leonardoo/df06b4d8887c7adca449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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