Skip to content

Commit dadfca0

Browse files
author
Robin Munn
committed
sqlalchemy: Merged revisions 3918 to 4053 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/sqlalchemy@4054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 0b059aa commit dadfca0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2352
-422
lines changed

AUTHORS

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,15 @@ answer newbie questions, and generally made Django that much better:
8383
Simon Greenhill <[email protected]>
8484
Espen Grindhaug <http://grindhaug.org/>
8585
Brant Harris
86+
Hawkeye
8687
8788
Joel Heenan <[email protected]>
8889
8990
Ian Holsman <http://feh.holsman.net/>
9091
Kieran Holland <http://www.kieranholland.com>
9192
Robert Rock Howard <http://djangomojo.com/>
9293
Jason Huggins <http://www.jrandolph.com/blog/>
94+
Baurzhan Ismagulov <[email protected]>
9395
9496
Michael Josephson <http://www.sdjournal.com/>
9597
@@ -105,17 +107,19 @@ answer newbie questions, and generally made Django that much better:
105107
106108
Stuart Langridge <http://www.kryogenix.org/>
107109
Eugene Lazutkin <http://lazutkin.com/blog/>
108-
Jeong-Min Lee
110+
Jeong-Min Lee <[email protected]>
109111
Christopher Lenz <http://www.cmlenz.net/>
110112
111113
limodou
112114
mattmcc
113115
Martin Maney <http://www.chipy.org/Martin_Maney>
116+
114117
Manuzhai
115118
Petar Marić
116119
117120
118121
Jason McBrayer <http://www.carcosa.net/jason/>
122+
119123
120124
mmarshall
121125
Eric Moritz <http://eric.themoritzfamily.com/>
@@ -157,6 +161,7 @@ answer newbie questions, and generally made Django that much better:
157161
Amit Upadhyay
158162
Geert Vanderkelen
159163
Milton Waddams
164+
160165
Dan Watson <http://theidioteque.net/>
161166
Rachel Willmer <http://www.willmer.com/kb/>
162167
Gary Wilson <[email protected]>

django/conf/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, settings_module):
7777
self.SETTINGS_MODULE = settings_module
7878

7979
try:
80-
mod = __import__(self.SETTINGS_MODULE, '', '', [''])
80+
mod = __import__(self.SETTINGS_MODULE, {}, {}, [''])
8181
except ImportError, e:
8282
raise EnvironmentError, "Could not import settings '%s' (Is it on sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
8383

@@ -97,7 +97,7 @@ def __init__(self, settings_module):
9797
new_installed_apps = []
9898
for app in self.INSTALLED_APPS:
9999
if app.endswith('.*'):
100-
appdir = os.path.dirname(__import__(app[:-2], '', '', ['']).__file__)
100+
appdir = os.path.dirname(__import__(app[:-2], {}, {}, ['']).__file__)
101101
for d in os.listdir(appdir):
102102
if d.isalpha() and os.path.isdir(os.path.join(appdir, d)):
103103
new_installed_apps.append('%s.%s' % (app[:-2], d))

django/conf/global_settings.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
DATABASE_PASSWORD = '' # Not used with sqlite3.
102102
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
103103
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
104+
DATABASE_OPTIONS = {} # Set to empty dictionary for default.
104105

105106
# Host for sending e-mail.
106107
EMAIL_HOST = 'localhost'
@@ -228,6 +229,10 @@
228229
# Hint: you really don't!
229230
TRANSACTIONS_MANAGED = False
230231

232+
# The User-Agent string to use when checking for URL validity through the
233+
# isExistingURL validator.
234+
URL_VALIDATOR_USER_AGENT = "Django/0.96pre (http://www.djangoproject.com)"
235+
231236
##############
232237
# MIDDLEWARE #
233238
##############
4.53 KB
Binary file not shown.

0 commit comments

Comments
 (0)