Merge pull request #22 from methane/djang-1.6.5

Update django to 1.6.5
This commit is contained in:
Craig Citro
2014-08-10 23:01:27 -07:00
2 changed files with 4 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ import unittest
# Ensure that if app engine is available, we use the correct django from it
try:
from google.appengine.dist import use_library
use_library('django', '1.2')
use_library('django', '1.5')
except ImportError:
pass
@@ -41,7 +41,8 @@ from oauth2client.client import Flow
# Mock a Django environment
os.environ['DJANGO_SETTINGS_MODULE'] = 'django_settings'
sys.modules['django_settings'] = imp.new_module('django_settings')
sys.modules['django_settings'] = django_settings = imp.new_module('django_settings')
django_settings.SECRET_KEY = 'xyzzy'
from oauth2client.django_orm import CredentialsField
from oauth2client.django_orm import FlowField

View File

@@ -6,7 +6,7 @@ deps = keyring
mox
pyopenssl
pycrypto==2.6
django==1.2
django>=1.5,<1.6
webtest
nose
setenv = PYTHONPATH=../google_appengine