urlpatterns = urlpatterns + patterns('',
        url(r'^github/', include('socialregistration.contrib.github.urls',
            namespace='github')))

if 'socialregistration.contrib.foursquare' in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns('',
        url(r'^foursquare/', include('socialregistration.contrib.foursquare.urls',
            namespace='foursquare')))

if 'socialregistration.contrib.tumblr' in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns('',
        url(r'^tumblr/', include('socialregistration.contrib.tumblr.urls',
            namespace='tumblr')))
    
if 'socialregistration.contrib.instagram' in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns('',
        url(r'^instagram/', include('socialregistration.contrib.instagram.urls',
            namespace='instagram')))

if 'socialregistration.contrib.google' in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns('',
        url(r'^google/', include('socialregistration.contrib.google.urls',
            namespace='google')))

urlpatterns = urlpatterns + patterns('',
    url(r'^setup/$', Setup.as_view(), name='setup'),
    url(r'^logout/$', Logout.as_view(), name='logout'),
)


示例#2
0
            namespace='github'))
    )

if 'socialregistration.contrib.foursquare' in settings.INSTALLED_APPS:
    urlpatterns.append(
        url(r'^foursquare/', include('socialregistration.contrib.foursquare.urls',
            namespace='foursquare'))
    )

if 'socialregistration.contrib.tumblr' in settings.INSTALLED_APPS:
    urlpatterns.append(
        url(r'^tumblr/', include('socialregistration.contrib.tumblr.urls',
            namespace='tumblr'))
    )

if 'socialregistration.contrib.instagram' in settings.INSTALLED_APPS:
    urlpatterns.append(
        url(r'^instagram/', include('socialregistration.contrib.instagram.urls',
            namespace='instagram'))
    )

if 'socialregistration.contrib.google' in settings.INSTALLED_APPS:
    urlpatterns.append(
        url(r'^google/', include('socialregistration.contrib.google.urls',
            namespace='google'))
    )

urlpatterns.append(url(r'^setup/$', Setup.as_view(), name='setup'))
urlpatterns.append(url(r'^logout/$', Logout.as_view(), name='logout'))

            include('socialregistration.contrib.github.urls',
                    namespace='github')))

if 'socialregistration.contrib.foursquare' in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        '',
        url(
            r'^foursquare/',
            include('socialregistration.contrib.foursquare.urls',
                    namespace='foursquare')))

if 'socialregistration.contrib.tumblr' in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        '',
        url(
            r'^tumblr/',
            include('socialregistration.contrib.tumblr.urls',
                    namespace='tumblr')))

if 'socialregistration.contrib.sapo' in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        '',
        url(r'^sapo/',
            include('socialregistration.contrib.sapo.urls', namespace='sapo')))

urlpatterns = urlpatterns + patterns(
    '',
    url(r'^setup/$', Setup.as_view(), name='setup'),
    url(r'^logout/$', Logout.as_view(), name='logout'),
)
示例#4
0
    )

if "socialregistration.contrib.buffer" in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        "", url(r"^buffer/", include("socialregistration.contrib.buffer.urls", namespace="buffer"))
    )

if "socialregistration.contrib.appdotnet" in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        "", url(r"^appdotnet/", include("socialregistration.contrib.appdotnet.urls", namespace="appdotnet"))
    )

if "socialregistration.contrib.google" in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        "", url(r"^google/", include("socialregistration.contrib.google.urls", namespace="google"))
    )

if "socialregistration.contrib.foursquare" in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        "", url(r"^foursquare/", include("socialregistration.contrib.foursquare.urls", namespace="foursquare"))
    )

if "socialregistration.contrib.tumblr" in settings.INSTALLED_APPS:
    urlpatterns = urlpatterns + patterns(
        "", url(r"^tumblr/", include("socialregistration.contrib.tumblr.urls", namespace="tumblr"))
    )

urlpatterns = urlpatterns + patterns(
    "", url(r"^setup/$", Setup.as_view(), name="setup"), url(r"^logout/$", Logout.as_view(), name="logout")
)