We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The part2 server request to load the app callable from the djangoapp doesn't work in Django version 1.10.1
The contents of the helloworld/urls.py has to be changed
from:
from django.conf.urls import patterns, include, url from django.contrib import admin
urlpatterns = patterns( '', # Examples: # url(r'^$', 'helloworld.views.home', name='home'), # url(r'^blog/', include('blog.urls')),
url(r'^admin/', include(admin.site.urls)), (r'^hello', 'helloworld.views.index'),
)
To:
from django.conf.urls import include, url from django.contrib import admin
from . import views
urlpatterns = [
url(r'^admin/', admin.site.urls), url(r'^hello/', views.index),
]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The part2 server request to load the app callable from the djangoapp doesn't work in Django version 1.10.1
The contents of the helloworld/urls.py has to be changed
from:
from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns(
'',
# Examples:
# url(r'^$', 'helloworld.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
)
To:
from django.conf.urls import include, url
from django.contrib import admin
from . import views
urlpatterns = [
]
The text was updated successfully, but these errors were encountered: