Skip to content

@Bentley4 /shw2.txt
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Original urls.py: notice `pykaboo_django`
---------------------------------------------------------------------------------------------------
from django.conf.urls.defaults import patterns, include, url
import pykaboo_django.core.views
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('', (r'^$', pykaboo_django.core.views.home), (r'^home$', pykaboo_django.core.views.home), (r'^install$', pykaboo_django.core.views.install), (r'Install', pykaboo_django.core.views.install), url(r'^admin/', include(admin.site.urls)),
)
---------------------------------------------------------------------------------------------------
I had to change every `pykaboo_django` to `app` like the following code to make it work on heroku.
---------------------------------------------------------------------------------------------------
from django.conf.urls.defaults import patterns, include, url
import app.core.views
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('', (r'^$', app.core.views.home), (r'^home$', app.core.views.home), (r'^install$', app.core.views.install), (r'Install', app.core.views.install), url(r'^admin/', include(admin.site.urls)),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.