django-orm-standalone icon indicating copy to clipboard operation
django-orm-standalone copied to clipboard

ROOT_URLCONF

Open bcjarrett opened this issue 7 years ago • 1 comments

I had to add

from django.conf.urls import url
urlpatterns = [
    url(r'^$', lambda x: x)
]
ROOT_URLCONF = 'settings'

to my settings file to get my project to work (django 1.9). The lambda function is just a dummy function to fill the view paramater

bcjarrett avatar Mar 13 '17 15:03 bcjarrett

I can confirm I needed to do this as well.

The workaround works in 1.9.

ross-spencer avatar Mar 22 '18 06:03 ross-spencer