from django import forms

class RemoteSubscribeForm(forms.Form):
    username = forms.CharField(max_length=64, label="Username")
    profile_url = forms.URLField(label="OMB Compatable Profile URL")

AUTHORIZE_CHOICES = (
    ('on', 'Accept'),
    ('off', 'Reject')
)

class AuthorizeForm(forms.Form):
    token = forms.CharField(widget=forms.HiddenInput)
    authorize_access = forms.ChoiceField(choices=AUTHORIZE_CHOICES,widget=forms.RadioSelect, required=False)

from django import forms

class RemoteSubscribeForm(forms.Form):
    username = forms.CharField(max_length=64, label="Username")
    profile_url = forms.URLField(label="OMB Compatable Profile URL")

AUTHORIZE_CHOICES = (
    (1, 'Accept'),
    (0, 'Reject')
)

class AuthorizeForm(forms.Form):
    token = forms.CharField(widget=forms.HiddenInput)
    authorize_access = forms.ChoiceField(choices=AUTHORIZE_CHOICES,widget=forms.RadioSelect, required=False)

Use integer values for the remote subscribe form to comply with the django oauth_provider.
Use integer values for the remote subscribe form to comply with the django oauth_provider.
