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

from ab_tool.views.main_pages import not_authorized

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^not_authorized$', not_authorized, name='not_authorized'),
    url(r'^lti_tools/ab_tool/', include("ab_tool.urls", app_name="ab_tool")),
    url(r'^oauth/', include("django_canvas_oauth.urls", namespace="django_canvas_oauth")),

    url(r'^admin/', include(admin.site.urls)),
)

@@ -177,16 +177,21 @@
 atterns(
+%0A    
 '',%0A    
@@ -197,16 +197,27 @@
  url(r'%5E
+ab-testing/
 not_auth
@@ -281,17 +281,18 @@
 (r'%5E
-lti_tools
+ab-testing
 /ab_
@@ -356,16 +356,27 @@
  url(r'%5E
+ab-testing/
 oauth/',
@@ -447,17 +447,16 @@
 uth%22)),%0A
-%0A
     url(
@@ -458,16 +458,27 @@
  url(r'%5E
+ab-testing/
 admin/',

Update project level urls to have a prefix of 'ab-testing/'. This is necessary for auto deployable projects.