1. Luke Plant
  2. django-piston

Commits

Jesper Nøhr  committed 92644a4

using CharField over URLField, seeing as callback is largely arbitrary

  • Participants
  • Parent commits 37bec55
  • Branches default

Comments (0)

Files changed (1)

File piston/forms.py

View file
  • Ignore whitespace
 
 class OAuthAuthenticationForm(forms.Form):
     oauth_token = forms.CharField(widget=forms.HiddenInput)
-    oauth_callback = forms.URLField(widget=forms.HiddenInput)
+    oauth_callback = forms.CharField(widget=forms.HiddenInput)
     authorize_access = forms.BooleanField(required=True)
     csrf_signature = forms.CharField(widget=forms.HiddenInput)