summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-05-27Fixed #12491 -- Tweak checkbox widget help text alignment on the admin.Ramiro Morales
Thanks master' for the report and Niels van Dijk for the fix
2013-05-27Reimplemented PostGIS spatial_version with cached_propertyClaude Paroz
2013-05-27Fixed #20507 -- SubqueryConstraint alias relabelingAnssi Kääriäinen
The SubqueryConstraint defined relabeled_clone(), but that was never called. Instead there is now clone() and relabel_aliases() methods for SubqueryConstraint. A related problem was that SubqueryConstraint didn't correctly use quote_name_unless_alias() of the outer query. This resulted in failures when running under PostgreSQL.
2013-05-27Merge pull request #1217 from erikr/better-settings-errors2Claude Paroz
Fixed #20443 -- Import errors in settings cause confusing error messages
2013-05-26Replaced `and...or...` constructs with PEP 308 conditional expressions.Ramiro Morales
2013-05-25Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.Preston Holmes
SuspiciousOperations have been differentiated into subclasses, and are now logged to a 'django.security.*' logger. SuspiciousOperations that reach django.core.handlers.base.BaseHandler will now return a 400 instead of a 500. Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft for review.
2013-05-25Fixed #20443 -- Import errors in settings cause confusing error messagesErik Romijn
2013-05-25Fixed #19938 -- Consumed iterator only once in paginator's PageAndrew Jesaitis
Thanks Joshua Fialkoff for the report.
2013-05-25Fixed #20296 -- Allowed SafeData and EscapeData to be lazyBaptiste Mispelon
2013-05-25Fixed #11725 -- Made possible to create widget label tag without "for"Claude Paroz
Thanks Denis Martinez for the report and initial patch, and Sergey Kolosov for bringing the patch up to date.
2013-05-25Updated translation catalogsClaude Paroz
Updated core/admin/admindocs/comments translation catalogs.
2013-05-25Fixed some minor translation-related issuesClaude Paroz
2013-05-25Fixed #20455 -- Do not use ngettext for undefined pluralsMarc Egli
Using two separate translation strings instead of gettext plural when there is no reference to the number in the translated string. This prevents some translations like Russian and Latvian to use the singular form for 11 or 21.
2013-05-25Removed obsolete attribute of DjangoTranslationClaude Paroz
2013-05-25Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddlewareClaude Paroz
Thanks Ram Rachum for the report and the initial patch, and Simon Charette for the review.
2013-05-25Fixed #14825 -- LocaleMiddleware keeps languageVlastimil Zíma
* LocaleMiddleware stores language into session if it is not present there.
2013-05-24Rotate CSRF token on loginAndrew Godwin
2013-05-24Fixed a regression in router initializationClaude Paroz
Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report.
2013-05-24Optimisation in prefetch_related_objectsLuke Plant
2013-05-24Fixed #19607 - prefetch_related crashLuke Plant
Thanks to av@rdf.ru and flarno11@yahoo.de for the report.
2013-05-23Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.Gavin Wahl
Allows a `GenericForeignKey` to reference proxy models. The default for `for_concrete_model` is `True` to keep backwards compatibility. Also added the analog `for_concrete_model` kwarg to `generic_inlineformset_factory` to provide an API at the form level.
2013-05-23Delayed settings.DATABASE_ROUTERS usage by ConnectionRouterClaude Paroz
Refs #20474.
2013-05-23Delayed settings.DATABASES usage by ConnectionHandlerClaude Paroz
Refs #20474.
2013-05-23Fixed #20474 -- Proxied and deprecated django.db.backendClaude Paroz
2013-05-23Fixed #19237 (again) - Made strip_tags consistent between Python versionsClaude Paroz
2013-05-23Made fix for #9321 less buggy and more effective.Ramiro Morales
Don't try to be smart about building a good-looking help string because it evaluates translations too early, simply use the same old strategy as before. Thanks Donald Stufft for the report. Also, actually fix the case reported by the OP by special-casing CheckboxSelectMultiple. Added tests. Refs #9321.
2013-05-23Fixed #11398 - Added a pre_syncdb signalDonald Stufft
2013-05-22Merge pull request #1198 from KrzysiekJ/http-patch-methodRussell Keith-Magee
Fixed #20478 – Added support for HTTP PATCH method in generic views.
2013-05-22Removed check for 0.15 version of gettext toolsClaude Paroz
gettext 0.15 has been released in July 2006.
2013-05-22Fixed #19237 -- Used HTML parser to strip tagsClaude Paroz
The regex method used until now for the strip_tags utility is fast, but subject to flaws and security issues. Consensus and good practice lead use to use a slower but safer method.
2013-05-22Fixed #20478 – Added support for HTTP PATCH method in generic views.Krzysztof Jurewicz
2013-05-22Fixed #20463 -- Made get_or_create more robust.Aymeric Augustin
When an exception other than IntegrityError was raised, get_or_create could fail and leave the database connection in an unusable state. Thanks UloPe for the report.
2013-05-22Merge pull request #246 from dekkers/ticket_18709Marc Tamlyn
Fixed #18709 -- Check if initial_value is a callable
2013-05-22Fixed #18709 -- Check if initial_value is a callableJeroen Dekkers
In _get_changed_data, check if initial_value is a callable and call it if it is.
2013-05-22Fixed #20012 -- test_year_lookup_edge_case fails under OracleShai Berger
Used formatted date instead of datetime object for the end of the year range, as the datetime object loses fractions-of-seconds when inserted into the db.
2013-05-22Fixed #20015 -- date__startswith('2008') fails under OracleShai Berger
Removed the explicit casting of strings to dates
2013-05-22Fixed #20453 -- inspectdb test failure on OracleShai Berger
2013-05-21Fixed #18702 -- Removed chunked reads from QuerySet iterationAnssi Kääriäinen
2013-05-21Fixed #19326 -- Added first() and last() methods to QuerySetSelwin Ong
2013-05-21(Re-)moved some importsClaude Paroz
2013-05-21Fixed #6412 -- More details if a template file cannot be loadedMathijs de Bruin
Report more details about template files in loader postmortem.
2013-05-21Imported copyreg from six.movesClaude Paroz
2013-05-21Fixed #17308 -- Enabled the use of short_description on properties in the admin.Wiktor Kolodziej
2013-05-21Merge pull request #1191 from ambv/content_is_bytesAymeric Augustin
Fixed #20472: response.content should be bytes on both Python 2 and 3
2013-05-21Fixed #20212 - __reduce__ should only be defined for Py3+.Daniel Lindsley
2013-05-21Fixed #20472: response.content should be bytes on both Python 2 and 3Łukasz Langa
2013-05-20Fixed #9321 -- Deprecated hard-coding of help text in model ManyToManyField ↵Ramiro Morales
fields. This is backward incompatible for custom form field/widgets that rely on the hard-coded 'Hold down "Control", or "Command" on a Mac, to select more than one.' sentence. Application that use standard model form fields and widgets aren't affected but need to start handling these help texts by themselves before Django 1.8. For more details, see the related release notes and deprecation timeline sections added with this commit.
2013-05-20Fixed #20445 -- Raised original exception after command errorJorge Bastida
2013-05-20Fixed #20403 -- Ignore forms marked for deletion when validating max_num.Ryan Kaskel
2013-05-20Fixed #20278 -- ensured .get() exceptions do not recurse infinitelyAnssi Kääriäinen
A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error reporting recurse infinitely on certain rare conditions. Fixed this by not trying to print the given lookup kwargs.