Skip to content
Closed
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
22 changes: 12 additions & 10 deletions demo-with-google-logins/app.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
application: yourappid
version: 1
runtime: python
api_version: 1

handlers:
- url: /stats.*
script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py
- url: /.*
script: main.py
application: yourappid
version: 1
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /stats.*
script: google.appengine.ext.appstats.ui.app
- url: /.*
script: main.application

2 changes: 1 addition & 1 deletion demo-with-google-logins/appengine_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# this file. If you use os.urandom() to *dynamically* generate your key at
# runtime then any existing sessions will become junk every time you start,
# deploy, or update your app!
import os

COOKIE_KEY = 'do not use this key'

def webapp_add_wsgi_middleware(app):
Expand Down
22 changes: 12 additions & 10 deletions demo/app.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
application: yourappid
version: 1
runtime: python
api_version: 1

handlers:
- url: /stats.*
script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py
- url: /.*
script: main.py
application: yourappid
version: 1
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /stats.*
script: google.appengine.ext.appstats.ui.app
- url: /.*
script: main.application

2 changes: 1 addition & 1 deletion demo/appengine_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# this file. If you use os.urandom() to *dynamically* generate your key at
# runtime then any existing sessions will become junk every time you start,
# deploy, or update your app!
import os

COOKIE_KEY = 'do not use this key'

def webapp_add_wsgi_middleware(app):
Expand Down
2 changes: 1 addition & 1 deletion demo/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1><a href="http://github.com/dound/gae-sessions">gae-sessions</a> demo with RP
<tr><th>During this sign-on</td> <td>{{ num_now }}</td></tr>
</table>
{% else %}
{{ login_form }}
{{ login_form|safe }}
{% endif %}
</div>

Expand Down