Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removes old helper to get dev_appserver working

Note that the test suite does not run with
this commit
  • Loading branch information...
commit a7506818309bbcfc57aa1134a06e05a0010c9414 1 parent ad49035
@kumar303 kumar303 authored
Showing with 1 addition and 19 deletions.
  1. +0 −7 api/handler.py
  2. +0 −5 main.py
  3. +1 −7 settings.py
View
7 api/handler.py
@@ -16,13 +16,6 @@
### limitations under the License.
###
-# Installs app engine django even though the API doesn't need it.
-# This is currently a workaround to prevent Django 0.96 polluting the
-# process space that each server instance is running in.
-# See http://code.google.com/p/google-app-engine-django/issues/detail?id=191
-import main
-
-
import calendar
from datetime import datetime, timedelta
import hashlib
View
5 main.py
@@ -19,15 +19,10 @@
directly -- everything else is controlled from there.
"""
-
-# Standard Python imports.
import os
ROOT = os.path.dirname(__file__)
-from appengine_django import InstallAppengineHelperForDjango
-InstallAppengineHelperForDjango('1.3')
-
# Import the part of Django that we use here.
import django.core.handlers.wsgi
View
8 settings.py
@@ -33,12 +33,7 @@
MANAGERS = ADMINS
-DATABASE_ENGINE = 'appengine' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-DATABASE_NAME = '' # Or path to database file if using sqlite3.
-DATABASE_USER = '' # Not used with sqlite3.
-DATABASE_PASSWORD = '' # Not used with sqlite3.
-DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
-DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
+DATABASES = {}
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
@@ -117,7 +112,6 @@
)
INSTALLED_APPS = (
- 'appengine_django',
'auth',
'common',
'djdb',
Please sign in to comment.
Something went wrong with that request. Please try again.