from django.conf.urls import include, url
from django.contrib import admin
from demo.apis import api

urlpatterns = [
    url(r'^api/', include(api.urls)),
    url(r'^api/doc/', include(('tastypie_swagger.urls', 'tastypie_swagger'),
                              namespace='demo_api_swagger'),
      kwargs={
          "tastypie_api_module":"demo.apis.api",
          "namespace":"demo_api_swagger",
          "version": "0.1"}
    ),
    url(r'^admin/', admin.site.urls),
]

[((14, 4, 14, 36), 'django.conf.urls.url', 'url', ({(14, 8, 14, 18): '"""^admin/"""', (14, 20, 14, 35): 'admin.site.urls'}, {}), "('^admin/', admin.site.urls)", False, 'from django.conf.urls import include, url\n'), ((6, 18, 6, 35), 'django.conf.urls.include', 'include', ({(6, 26, 6, 34): 'api.urls'}, {}), '(api.urls)', False, 'from django.conf.urls import include, url\n'), ((7, 22, 8, 59), 'django.conf.urls.include', 'include', (), '', False, 'from django.conf.urls import include, url\n')]