Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/a/u/authentic2-2.1.2/authentic2/saml/forms.py   authentic2(Download)
from django.utils.translation import ugettext_lazy as _
 
from .models import LibertyProvider
 
class AddLibertyProviderFromUrlForm(Form):
        try:
            content = urllib2.urlopen(url).read().decode('utf-8')
            liberty_provider = LibertyProvider(name=name,
                slug=slug, metadata=content)
            liberty_provider.full_clean(exclude=