Skip to content

Commit

Permalink
Move to using Django 1.3
Browse files Browse the repository at this point in the history
Changes required were minimal, may as well do this now.
  • Loading branch information
wlach committed Apr 13, 2011
1 parent 2f0edc9 commit 0a66ede
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ use_local_geocoder = 1

[django]
recipe = djangorecipe
version = 1.1.1
version = 1.3
settings = settings
project = routez
projectegg = routez
Expand Down
16 changes: 10 additions & 6 deletions etc/templates/local_settings.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ GRAPH_FILE = '${development:var-directory}/mygraph.routez'
USE_LOCAL_GEOCODER = ${routez_settings:use_local_geocoder}
GEOCODER_FILE = '${development:var-directory}/mygeocoder.db'

DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = '${development:var-directory}/routez.db' # 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 = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '${development:var-directory}/routez.db', # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
2 changes: 1 addition & 1 deletion src/routez/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'America/Eastern'
TIME_ZONE = 'America/Toronto'

# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
Expand Down

0 comments on commit 0a66ede

Please sign in to comment.