summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2007-02-11Revert [4485] in order to fix accidental mod_python breakage. Refs #2920.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11Refs #2920 -- Replaced implicit uses of _() with explicit imports or calls ↵Russell Keith-Magee
to gettext(). At some point post 0.96, we need to remove the calls that put _ into the builtins. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-27Fixed a flaw in the serializers that prevented OneToOneFields being ↵Russell Keith-Magee
serialized as JSON objects. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-25Fixed #3299 -- Added 'site' to the list of INVALID_PROJECT_NAMES and ↵Adrian Holovaty
improved the error message. Thanks for the patch, ubernostrum git-svn-id: http://code.djangoproject.com/svn/django/trunk@4424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-12Fixed #3290: DummyCache now conforms to the BaseCache interface correctly. ↵Jacob Kaplan-Moss
Thanks, Ned Batchelder. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-26Fixed #3187 -- Django will now look for the root URLconf as an attribute of ↵Jacob Kaplan-Moss
the request object, if available. This lets middleware override the urlconf as needed. Thanks, Fredrik Lundh. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-07Changed Flup (FastCGI) backend to set debug=False, to turn off tracebacks in ↵Adrian Holovaty
case of error. Thanks, Jared Kuolt git-svn-id: http://code.djangoproject.com/svn/django/trunk@4170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-29Fixed #2924 -- Development server no longer spins on an empty form post. Bug ↵Adrian Holovaty
caused by [3805] git-svn-id: http://code.djangoproject.com/svn/django/trunk@4144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-28Fixed small bug in 'The view ____ didn't return an HttpResponse object' ↵Adrian Holovaty
message -- it assumed the view was a function, whereas it can be any callable object git-svn-id: http://code.djangoproject.com/svn/django/trunk@4128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-26Fixed #3057 -- Improved wsgi backend to tolerate empty string in ↵Adrian Holovaty
CONTENT_LENGTH. Thanks for the patch, Ivan Sagalaev git-svn-id: http://code.djangoproject.com/svn/django/trunk@4107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-23Fixed #3057 -- Fixed typo in [4091]. Thanks for the heads-up, Barry PedersonAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-23Fixed #3057 -- Changed WSGI handler not to expect CONTENT_LENGTH. Thanks for ↵Adrian Holovaty
the patch, Ivan Sagalaev git-svn-id: http://code.djangoproject.com/svn/django/trunk@4091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-23Fixed bug in [3786]. django/core/xheaders.py no longer assumes request.user ↵Adrian Holovaty
exists git-svn-id: http://code.djangoproject.com/svn/django/trunk@4090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10Fixed bug in [4058], in django/core/mail.py. Thanks, Igor GoryachevAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-10Fixed #3007 -- Fixed Python 2.4-ism from [4051] in django/core/mail.py. Also ↵Adrian Holovaty
cached the result of socket.getfqdn(). Thanks for the patch, SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@4058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Formatting fixes from the past round of checkinsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2991: Added Message-ID header to messages sent from Django. Thanks, ↵Jacob Kaplan-Moss
Graham King. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2875: made urlresolvers.get_mod_func() deal with non-qualified ↵Jacob Kaplan-Moss
callbacks better. Thanks, Matt McClanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2894: XML deserializer now correctly handles null primary keys.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2921: deserialization no longer failes on NULL primary keys. Thanks, ↵Jacob Kaplan-Moss
mir@noris.de. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2701: Added "fields" argument to serializers.serialize. Thanks, Deryck.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2575: ObjectPaginator now accepts a "orphans" option to prevent pages ↵Jacob Kaplan-Moss
with only a few items. Thanks, SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2452: comments can now be put within initial SQL files. Thanks, ↵Jacob Kaplan-Moss
Pawel J. Sawicki. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2364: added NumberIsInRange validator. Thanks, Matt McClanahan.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2934: greatly improved the accuracy if the isExistingURL check. Also ↵Jacob Kaplan-Moss
introduced a new setting, URL_VALIDATOR_USER_AGENT, which is the User-Agent that the validator will use to check for URL existance. Thanks, Jeremy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed $2973: added minspare/maxspare/maxchildren options to runfcgi. ↵Jacob Kaplan-Moss
Thanks, James Crasta. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-31Fixes #2969 -- Added maxRequests option for FCGI servers. Thanks, Michael ↵Russell Keith-Magee
Radziej. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30Fixed #2968 -- Changed arguments to __import__ to use empty dictionary ↵Adrian Holovaty
instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-27Fixed #2956 -- Made 'django-admin.py startproject' tolerant of filesystem ↵Adrian Holovaty
arrangements that cannot accept file-permission changes. Thanks for the patch, masonsimon+django@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-25Reverted [3919] because it requires mod_python 3.2.10+Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Fixed #2932 -- Added more details to the warning message in 'manage.py ↵Adrian Holovaty
reset'. Thanks for the patch, pb@e-scribe.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Fixed #2865 -- Reverted [3866] (problem with mod_python SERVER_PORTAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Changed django.core.handlers.modpython ModPythonRequest.is_secure() to use ↵Adrian Holovaty
req.is_https(). Thanks, Jeremy Dunck git-svn-id: http://code.djangoproject.com/svn/django/trunk@3919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-09Made the !NoReverseMatch exception fail silently within templates (so that ↵Jacob Kaplan-Moss
model.permalink doesn't cause templates to break for a broken permalink function). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-09Fixed problem with debug message arguments.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03Modified sql_index function names to match pattern established by ↵Russell Keith-Magee
initial_data functions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03Refs #1828 -- Added creation of indexes as a step in syncdb. This is an ↵Russell Keith-Magee
interim solution; the long term solution requires a non-trivial refactoring of syncdb, install and the get_* calls in management.py. Thanks to mdt@emdete.de for the original report, and to Simon Greenhill for prodding me to an interim fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03Cleaned up and clarified some log messages and docstrings.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03Factored out per-model index generation code.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03Modified the default verbosity to be 1 (normal), and added some syncdb ↵Russell Keith-Magee
messages at verbosity 2. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03Added ability to use --noinput flag for application reset.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-03Altered the order of arguments to the test function to match common practice ↵Russell Keith-Magee
in the rest of management.py. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28Folded BaseHandler.get_technical_error_response() into ↵Adrian Holovaty
BaseHandler.get_response() to save the overhead of a function call, and because that logic didn't need to be abstracted. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28Folded BaseHandler.get_friendly_error_response() into ↵Adrian Holovaty
BaseHandler.get_response() to save the overhead of a function call, and because that logic didn't need to be abstracted. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28Removed ENABLE_PSYCO setting. If you still need to use this, write custom ↵Adrian Holovaty
middleware that activates psyco for you. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28Folded django.core.handlers.modpython.populate_apache_request into ↵Adrian Holovaty
ModPythonHandler.__call__() to save the overhead of a function call, and because that logic didn't need to be abstracted. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-28Changed BaseHandler.get_response() to take a single parameter (an ↵Adrian Holovaty
HttpRequest object) rather than a URL and the HttpRequest object, which is redundant git-svn-id: http://code.djangoproject.com/svn/django/trunk@3875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-27Fixed Python 2.3 compatibility problem in [3872].Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-27Reintroduced the changes from [3855] with more flexible handling of versionMalcolm Tredinnick
strings. Refs #2188, #2827. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2827 -- Reverted [3855]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3867 bcc190cf-cafb-0310-a4f2-bffc1f526a37