summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2006-10-14Fixes #2737 -- Added code to allow None as a query value for __exact ↵Russell Keith-Magee
queries, raising an error otherwise. __exact=None is interpreted as the SQL 'value = NULL'. This fixes some minor problems with queries on unsaved objects with related object sets, and stops queries with a value of None being outright ignored (even if they reference an unknown attribute). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-10fixed #2876: updated japanese translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-10fixed #2887: updated czech translationGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3899 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-30Clarified documentation to indicate that authenticating a user doesn't imply ↵Russell Keith-Magee
that they are active. Reinforced the fact that has_perm only returns true if user is active, and fixed a minor bug to that effect. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29Disabled access to the admin site for inactive accounts, and clarified ↵Russell Keith-Magee
documentation regarding User.is_active. Thanks to Enrico <rico.bl@gmail.com> for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3884 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-27Fixed omission in [3872].Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3873 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-26Improved detection of whether a URL is internal or not for the purposeLuke Plant
of broken link e-mails (referred links from images.google were being misclassified). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2805 -- Removed some whitespace from the two sitemap XML templates.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Removed one more legacy bit from [3855]. Refs #2827.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3868 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
2006-09-26Fixed #2782 -- Fixed incorrect request.META['SERVER_PORT'] for mod_python.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2704 -- Fixed error in create_superuser. It was failing for invalid ↵Adrian Holovaty
usernames. Thanks for reporting, jmu git-svn-id: http://code.djangoproject.com/svn/django/trunk@3864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Removed an unnecessary import from r3857. I'd forgotten that _() was put intoMalcolm Tredinnick
the global namespace. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2748 -- Turned daily_cleanup.py into something that will run against theMalcolm Tredinnick
current version of Django. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Corrected line that was somehow merged out prior to committing changeset [3858].Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Refs #2243 -- Fixed manipulator handling of raw_id_admin m2m edit_inline fields.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed a problem with editing inline objects.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2587 -- Removed some escaping from the summary fields.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2188 -- Raise an error when using long CharFields in combination withMalcolm Tredinnick
older MySQL versions. Thanks, Fraser Nevett <mail@nevett.org> . git-svn-id: http://code.djangoproject.com/svn/django/trunk@3855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2194 -- Tweaked error message for unique_together validator to displayMalcolm Tredinnick
all verbose field names. Patch from dackze+django@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2823 -- Fixed Python 2.3 compatibility problem pointed out by Alex Dedul.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2208 -- Allow empty arguments to be passed to filters. Thanks, mattmcc.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2265 -- Fixed problem with using iterators for "choices" attribute.Malcolm Tredinnick
Thanks, Alex Dedul. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2300 -- Added required "value" attribute to CheckboxSelectMultipleFieldMalcolm Tredinnick
form field. Converted the submitted data for the same field back into something we can work with. Thanks, lerouxb@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2362 -- Corrected the way we retrieve an object so that it works forMalcolm Tredinnick
one-to-one fields. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2817 -- Fixed formatting problem in admin help string. Thanks,Malcolm Tredinnick
Maximillian Dornseif. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2816 -- Marked a couple more translatable strings. Thanks, ramiro.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2783 -- Fixed one-to-one fields to work with any primary key data typeMalcolm Tredinnick
in the related model. Thanks, Joel Heenan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2760 -- Fixed FloatField validator right (take two!) for negativeMalcolm Tredinnick
float amounts. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Added '1' and '0' as allowed text input for BooleanFields. This was required ↵Russell Keith-Magee
to acommodate XML serializers when using MySQL. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Proofread new django-admin 'adminmedia' option from [3811] and [3812]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Small improvements to profanities-to-settings move from [3784]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Fixed typos and improved documentation for permission_required decorator ↵Adrian Holovaty
addition from [3779] git-svn-id: http://code.djangoproject.com/svn/django/trunk@3835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25Altered [3778] change to match our coding/text style (django.middleware.common)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3834 bcc190cf-cafb-0310-a4f2-bffc1f526a37