File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
container_engine/django_tutorial/mysite
managed_vms/django_cloudsql/mysite Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2525
2626# [START all]
2727import argparse
28- import sys
2928
3029from googleapiclient import discovery
3130from oauth2client .client import GoogleCredentials
@@ -39,7 +38,7 @@ def list_logs(project_id, logging_service):
3938 response = request .execute ()
4039 if not response :
4140 print ("No logs found in {0} project" ).format (project_id )
42- return False
41+ return False
4342 for log in response ['logs' ]:
4443 print (log ['name' ])
4544
Original file line number Diff line number Diff line change 1717from django .contrib .staticfiles .urls import staticfiles_urlpatterns
1818
1919urlpatterns = [
20- url (r'^' , include ('polls.urls' )),
20+ url (r'^$ ' , include ('polls.urls' )),
2121]
2222
2323# Only serve static files from Django during development
Original file line number Diff line number Diff line change 1515from django .conf .urls import include , url
1616from django .contrib import admin
1717
18- urlpatterns = [url (r'^polls/ ' , include ('polls.urls' )),
18+ urlpatterns = [url (r'^$ ' , include ('polls.urls' )),
1919 url (r'^admin/' , admin .site .urls )]
You can’t perform that action at this time.
0 commit comments