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

All Samples(26)  |  Call(19)  |  Derive(0)  |  Import(7)

src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/django_browserid/helpers.py   socorro(Download)
from django.utils.six import string_types
 
from django_browserid.compat import jingo_register, reverse
from django_browserid.util import LazyEncoder
 
 
    info = json.dumps({
        'loginUrl': reverse('browserid.login'),
        'logoutUrl': reverse('browserid.logout'),
        'csrfUrl': reverse('browserid.csrf'),
    """
    next = next or getattr(settings, 'LOGOUT_REDIRECT_URL', '/')
    return browserid_button(text, next, link_class, attrs, reverse('browserid.logout'))
 
 

src/a/f/affiliates-HEAD/vendor-local/packages/django-browserid/django_browserid/helpers.py   affiliates(Download)
from django.utils.six import string_types
 
from django_browserid.compat import jingo_register, reverse
from django_browserid.util import LazyEncoder
 
 
    info = json.dumps({
        'loginUrl': reverse('browserid.login'),
        'logoutUrl': reverse('browserid.logout'),
        'csrfUrl': reverse('browserid.csrf'),
    """
    next = next or getattr(settings, 'LOGOUT_REDIRECT_URL', '/')
    return browserid_button(text, next, link_class, attrs, reverse('browserid.logout'))
 
 

src/p/l/playdoh-lib-HEAD/lib/python/django_browserid/helpers.py   playdoh-lib(Download)
from django.utils.six import string_types
 
from django_browserid.compat import jingo_register, reverse
from django_browserid.util import LazyEncoder
 
 
    info = json.dumps({
        'loginUrl': reverse('browserid.login'),
        'logoutUrl': reverse('browserid.logout'),
        'csrfUrl': reverse('browserid.csrf'),
    """
    next = next or getattr(settings, 'LOGOUT_REDIRECT_URL', '/')
    return browserid_button(text, next, link_class, attrs, reverse('browserid.logout'))
 
 

src/t/r/treeherder-service-HEAD/vendor/django_browserid/views.py   treeherder-service(Download)
 
from django_browserid.auth import BrowserIDBackend
from django_browserid.compat import reverse
from django_browserid.base import BrowserIDException, sanity_checks
from django_browserid.http import JSONResponse
        # get the url.
        try:
            failure_url = reverse(failure_url)
        except NoReverseMatch:
            pass
        return JSONResponse({
            'userEmail': email,
            'loginUrl': reverse('browserid.login'),
            'logoutUrl': reverse('browserid.logout'),
            'requestArgs': request_args,

src/d/j/django-browserid-0.10/django_browserid/views.py   django-browserid(Download)
 
from django_browserid.auth import BrowserIDBackend
from django_browserid.compat import reverse
from django_browserid.base import BrowserIDException, sanity_checks
from django_browserid.http import JSONResponse
        return JSONResponse({
            'userEmail': email,
            'loginUrl': reverse('browserid.login'),
            'logoutUrl': reverse('browserid.logout'),
            'requestArgs': request_args,

src/t/r/treeherder-service-HEAD/vendor/django_browserid/helpers.py   treeherder-service(Download)
from django.utils.six import string_types
 
from django_browserid.compat import jingo_register, reverse
 
 
    """
    next = next or getattr(settings, 'LOGOUT_REDIRECT_URL', '/')
    return browserid_button(text, next, link_class, attrs, reverse('browserid.logout'))
 
 

src/d/j/django-browserid-0.10/django_browserid/helpers.py   django-browserid(Download)
from django.utils.six import string_types
 
from django_browserid.compat import jingo_register, reverse
 
 
    """
    next = next or getattr(settings, 'LOGOUT_REDIRECT_URL', '/')
    return browserid_button(text, next, link_class, attrs, reverse('browserid.logout'))