mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-09 05:21:13 +02:00
Remove Django from app.yaml--old version going away.
This commit is contained in:
parent
5fdcbab46a
commit
085fb47b08
2 changed files with 1 additions and 25 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# ffd-retief-hrd fanficfare
|
# ffd-retief-hrd fanficfare
|
||||||
application: fanficfare
|
application: fanficfare
|
||||||
version: 2-3-04
|
version: 2-3-04a
|
||||||
runtime: python27
|
runtime: python27
|
||||||
api_version: 1
|
api_version: 1
|
||||||
threadsafe: true
|
threadsafe: true
|
||||||
|
|
@ -34,13 +34,3 @@ handlers:
|
||||||
|
|
||||||
- url: /.*
|
- url: /.*
|
||||||
script: main.app
|
script: main.app
|
||||||
|
|
||||||
#builtins:
|
|
||||||
#- datastore_admin: on
|
|
||||||
|
|
||||||
libraries:
|
|
||||||
- name: django
|
|
||||||
version: "1.2"
|
|
||||||
|
|
||||||
- name: PIL
|
|
||||||
version: "1.1.7"
|
|
||||||
|
|
|
||||||
|
|
@ -30,20 +30,6 @@ import datetime
|
||||||
import traceback
|
import traceback
|
||||||
from StringIO import StringIO
|
from StringIO import StringIO
|
||||||
|
|
||||||
## Just to shut up the appengine warning about "You are using the
|
|
||||||
## default Django version (0.96). The default Django version will
|
|
||||||
## change in an App Engine release in the near future. Please call
|
|
||||||
## use_library() to explicitly select a Django version. For more
|
|
||||||
## information see
|
|
||||||
## http://code.google.com/appengine/docs/python/tools/libraries.html#Django"
|
|
||||||
## Note that if you are using the SDK App Engine Launcher and hit an SDK
|
|
||||||
## Console page first, you will get a django version mismatch error when you
|
|
||||||
## to go hit one of the application pages. Just change a file again, and
|
|
||||||
## make sure to hit an app page before the SDK page to clear it.
|
|
||||||
#os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
|
||||||
#from google.appengine.dist import use_library
|
|
||||||
#use_library('django', '1.2')
|
|
||||||
|
|
||||||
from google.appengine.ext import db
|
from google.appengine.ext import db
|
||||||
from google.appengine.api import taskqueue
|
from google.appengine.api import taskqueue
|
||||||
from google.appengine.api import users
|
from google.appengine.api import users
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue