# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^', include('api.urls')),
    url('r^accounts/', include('accounts.urls')),

    url('', include('social.apps.django_app.urls', namespace='social')),

    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^admin/', include(admin.site.urls)),
)

# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url
from django.contrib import admin

admin.autodiscover()

urlpatterns = patterns(
    '',
    url(r'^', include('api.urls')),
    url(r'^accounts/', include('accounts.urls')),

    url('', include('social.apps.django_app.urls', namespace='social')),

    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    url(r'^admin/', include(admin.site.urls)),
)

Fix wrong url regxp for accoutns
Fix wrong url regxp for accoutns
