Module ImportFrom alias ImportFrom alias Import alias Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad Num Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr Str Str attr attr Str Str ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad decorator_list Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg body Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd Str NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A openid.extensions sreg openid.yadis xri N/A datetime N/A hex_to_int N/A N/A N/A s N/A N/A int s 16 N/A int_to_hex N/A N/A N/A i N/A N/A N/A N/A N/A N/A N/A N/A hex i replace 0x lower replace l OpenID N/A N/A __init__ N/A N/A self openid issued sreg N/A None N/A N/A N/A self openid openid N/A N/A self issued issued N/A N/A self sreg N/A sreg N/A N/A is_iname N/A N/A self N/A N/A N/A N/A N/A N/A xri identifierScheme N/A self openid XRI N/A __repr__ N/A N/A self N/A N/A N/A N/A <OpenID: %s> N/A self openid N/A __unicode__ N/A N/A self N/A N/A N/A N/A self openid N/A from_openid_response N/A N/A cls openid_response N/A N/A N/A N/A cls openid N/A openid_response identity_url issued N/A N/A N/A datetime datetime now sreg N/A N/A N/A sreg SRegResponse fromSuccessResponse openid_response N/A classmethod N/A N/A 
Convenient wrapper around Django's urlresolvers, allowing them to be used 
from normal application code.

from django.http import HttpResponse
from django_openid.request_factory import RequestFactory
from django.conf.urls import url
router = Router(
    url('^foo/$', lambda r: HttpResponse('foo'), name='foo'),
    url('^bar/$', lambda r: HttpResponse('bar'), name='bar')
)
rf = RequestFactory()
print router(rf.get('/bar/'))
 django.conf.urls patterns django.core urlresolvers Router N/A object N/A __init__ N/A N/A self N/A urlpairs N/A N/A N/A self urlpatterns N/A patterns urlpairs N/A N/A self resolver N/A N/A urlresolvers RegexURLResolver ^/ None N/A N/A N/A self resolver _urlconf_module self N/A handle N/A N/A self request path_override N/A None N/A N/A N/A path_override None N/A N/A path path_override N/A N/A path N/A request path_info N/A path N/A / path N/A N/A callback callback_args callback_kwargs N/A N/A N/A self resolver resolve path N/A N/A callback request callback_args callback_kwargs N/A __call__ N/A N/A self request path_override N/A None N/A N/A N/A N/A self handle request path_override N/A N/A