Skip to content

Commit

Permalink
Fix up Django URLs
Browse files Browse the repository at this point in the history
Managed VMs tutorial should serve the polls
app from the index.

Container Engine url should also have a dollar
sign.
  • Loading branch information
Bill Prin committed Mar 2, 2016
1 parent edcff80 commit b5a5f08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion container_engine/django_tutorial/mysite/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

urlpatterns = [
url(r'^', include('polls.urls')),
url(r'^$', include('polls.urls')),
]

# Only serve static files from Django during development
Expand Down
2 changes: 1 addition & 1 deletion managed_vms/django_cloudsql/mysite/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
from django.conf.urls import include, url
from django.contrib import admin

urlpatterns = [url(r'^polls/', include('polls.urls')),
urlpatterns = [url(r'^$', include('polls.urls')),
url(r'^admin/', admin.site.urls)]

0 comments on commit b5a5f08

Please sign in to comment.