Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(0)  |  Derive(8)  |  Import(6)

src/s/o/solitude-HEAD/lib/buyers/forms.py   solitude(Download)
from django import forms
 
from django_paranoia.forms import ParanoidForm, ParanoidModelForm
from tastypie.validation import FormValidation
 
class PinForm(ParanoidForm, PinMixin):
    uuid = forms.CharField(required=True)
    pin = forms.CharField(required=True)
 
 

src/w/e/webpay-HEAD/webpay/pay/forms.py   webpay(Download)
from django import forms
from django.conf import settings
 
from django_paranoia.forms import ParanoidForm
import jwt
class NetCodeForm(ParanoidForm):
    mcc = forms.RegexField(regex='^\d{2,3}$', required=True)
    mnc = forms.RegexField(regex='^\d{2,3}$', required=True)
 
 
class VerifyForm(ParanoidForm):

src/w/e/webpay-HEAD/webpay/services/forms.py   webpay(Download)
from django import forms
from django.conf import settings
 
import jwt
from django_paranoia.forms import ParanoidForm
class SigCheckForm(ParanoidForm):
    sig_check_jwt = forms.CharField()
 
    def clean_sig_check_jwt(self):
        enc_jwt = self.cleaned_data['sig_check_jwt'].encode('ascii', 'ignore')
class ErrorLegendForm(ParanoidForm):
    locale = forms.TypedChoiceField(
                required=False,
                # TODO: maybe support more standard language codes and/or
                # handle short code conversion?

src/w/e/webpay-HEAD/webpay/pin/forms.py   webpay(Download)
from django.views.decorators.debug import sensitive_variables
 
from django_paranoia.forms import ParanoidForm
from tower import ugettext_lazy as _
 
class BasePinForm(ParanoidForm):
    pin = forms.CharField(max_length=4, required=True,
                          widget=HTML5NumberWidget)
 
    def __init__(self, uuid=None, *args, **kwargs):

src/s/o/solitude-HEAD/lib/transactions/forms.py   solitude(Download)
from django.conf import settings
 
from django_paranoia.forms import ParanoidForm
 
from lib.transactions import constants
class UpdateForm(ParanoidForm):
    notes = forms.CharField(required=False)
    status = forms.ChoiceField(choices=[(v, v) for v in STATUSES.values()],
                               required=False)
    uid_pay = forms.CharField(required=False)

src/d/j/django-paranoia-HEAD/django_paranoia/tests/test.py   django-paranoia(Download)
from django_paranoia.configure import config
from django_paranoia.decorators import require_http_methods
from django_paranoia.forms import ParanoidForm, ParanoidModelForm
from django_paranoia.middleware import Middleware
from django_paranoia.sessions import SessionStore, ParanoidSessionMiddleware
from django_paranoia.signals import finished, warning
 
 
class SimpleForm(ParanoidForm):