1. petraszd
  2. eagcms

Commits

Petr...@gmail.com  committed 16201d8

Favicon; reposition of use_library

  • Participants
  • Parent commits 5819453
  • Branches default

Comments (0)

Files changed (3)

File app.yaml

View file
 - url: /static
   static_dir: eagproject/static
 
+- url: /favicon.ico
+  static_files: eagproject/static/favicon.ico
+  upload: eagproject/static/favicon.ico
+
 - url: .*
   script: main.py
 

File eagproject/static/favicon.ico

Added
New image

File main.py.sample

View file
 import os
 import sys
 from google.appengine.dist import use_library
+use_library('django', '1.1')
 from google.appengine.ext.webapp import util
 from django.core.handlers.wsgi import WSGIHandler
 
 settings._target = None
 
 def main():
-    use_library('django', '1.1')
     app = WSGIHandler()
     util.run_wsgi_app(app)