Skip to content
New issue

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

Fix up Django URLs #214

Merged
merged 1 commit into from
Mar 3, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cloud_logging/api/list_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

# [START all]
import argparse
import sys

from googleapiclient import discovery
from oauth2client.client import GoogleCredentials
Expand All @@ -39,7 +38,7 @@ def list_logs(project_id, logging_service):
response = request.execute()
if not response:
print("No logs found in {0} project").format(project_id)
return False
return False
for log in response['logs']:
print(log['name'])

Expand Down
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)]