from django.conf.urls import patterns, include, url
from django.contrib import admin

from basin.routers import api_router

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'basin.views.index'),
    url(r'^display/', 'basin.views.display'),
    url(r'^api/', include(api_router.urls)),
    url(r'^admin/', include(admin.site.urls)),
)

from django.conf.urls import patterns, include, url
from django.contrib import admin

from basin.routers import api_router

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'basin.views.display'),
    url(r'^backbone/', 'basin.views.index'),
    url(r'^api/', include(api_router.urls)),
    url(r'^admin/', include(admin.site.urls)),
)

Move static mockup to root
Move static mockup to root

  from django.conf.urls import patterns, include, url
  from django.contrib import admin
  
  from basin.routers import api_router
  
  admin.autodiscover()
  
  urlpatterns = patterns('',
-     url(r'^$', 'basin.views.index'),
-     url(r'^display/', 'basin.views.display'),
+     url(r'^$', 'basin.views.display'),
+     url(r'^backbone/', 'basin.views.index'),
      url(r'^api/', include(api_router.urls)),
      url(r'^admin/', include(admin.site.urls)),
  )
  
Move static mockup to root
## Code Before:
from django.conf.urls import patterns, include, url
from django.contrib import admin

from basin.routers import api_router

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'basin.views.index'),
    url(r'^display/', 'basin.views.display'),
    url(r'^api/', include(api_router.urls)),
    url(r'^admin/', include(admin.site.urls)),
)

## Instruction:
Move static mockup to root
## Code After:
from django.conf.urls import patterns, include, url
from django.contrib import admin

from basin.routers import api_router

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'basin.views.display'),
    url(r'^backbone/', 'basin.views.index'),
    url(r'^api/', include(api_router.urls)),
    url(r'^admin/', include(admin.site.urls)),
)
