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 25
25
26
26
# [START all]
27
27
import argparse
28
- import sys
29
28
30
29
from googleapiclient import discovery
31
30
from oauth2client .client import GoogleCredentials
@@ -39,7 +38,7 @@ def list_logs(project_id, logging_service):
39
38
response = request .execute ()
40
39
if not response :
41
40
print ("No logs found in {0} project" ).format (project_id )
42
- return False
41
+ return False
43
42
for log in response ['logs' ]:
44
43
print (log ['name' ])
45
44
Original file line number Diff line number Diff line change 17
17
from django .contrib .staticfiles .urls import staticfiles_urlpatterns
18
18
19
19
urlpatterns = [
20
- url (r'^' , include ('polls.urls' )),
20
+ url (r'^$ ' , include ('polls.urls' )),
21
21
]
22
22
23
23
# Only serve static files from Django during development
Original file line number Diff line number Diff line change 15
15
from django .conf .urls import include , url
16
16
from django .contrib import admin
17
17
18
- urlpatterns = [url (r'^polls/ ' , include ('polls.urls' )),
18
+ urlpatterns = [url (r'^$ ' , include ('polls.urls' )),
19
19
url (r'^admin/' , admin .site .urls )]
You can’t perform that action at this time.
0 commit comments