summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-03-084 flake8 warning fixesAlex Gaynor
2014-03-08Fixed #22183: Through M2Ms now correctly handledAndrew Godwin
2014-03-08Merge pull request #2315 from bendavis78/issues/22073Andrew Godwin
Fixed #22073 - Ensure CreateTable operation handles backwards migration correctly when M2M fields are present
2014-03-08Fixed #22199: Bad max_length deconstruction for FileFieldAndrew Godwin
2014-03-08Fix bad conflict detection during makemigrationsAndrew Godwin
2014-03-08Avoided changing raw DeprecationWarning filter behaviorClaude Paroz
Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
2014-03-08Fixed #22034 -- Added a specific set of relation checks for ↵Russell Keith-Magee
GenericInlineModelAdmin. Thanks to jwa for the report.
2014-03-07Fixed #21863 -- supplemented get_lookup() with get_transform()Anssi Kääriäinen
Also fixed #22124 -- Expanded explanation of exactly what is going on in as_sql() methods.
2014-03-06Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title ↵James Jenkins
case Thanks bendavis78 for the report.
2014-03-06Don't allow really long migration namesAndrew Godwin
2014-03-06Fixed #22204: Bad circular-dep-breaking if more than one per runAndrew Godwin
2014-03-06Revert "Fixed #22183: Don't make a table for M2Ms with through="Andrew Godwin
This reverts commit 1562b9896f8f614ef40fd032b1ec777280b377c1.
2014-03-06Fixed #22183: Don't make a table for M2Ms with through=Andrew Godwin
2014-03-06Reworked ErrorDict.as_json() to prevent unnecessary ↵Loic Bistuer
serialization/deserialization step. Thanks @apollo13 for the suggestion. Refs #17413.
2014-03-06Fixed #22185 -- Added settings.CSRF_COOKIE_AGERoger Hu
Thanks Paul McMillan for the review.
2014-03-06Added --previous flag to msgmerge command used by makemessagesClaude Paroz
Also took the opportunity to slightly refactor gettext options so as to ease customization by subclassing the command. Thanks Michal Čihař for the report and initial patch.
2014-03-06Fixed issues and added new scripts to urlify.jsBaptiste Mispelon
Added the following scripts: * Lithuanian (thanks to petraszd for the patch) * Serbian (thanks to offy) * Azerbajani (thanks to Ali Ismayilov) Fixed the following issues: * In Polish character map, some uppercase letters were converted to a lowercase ascii equivalent. * The letter Y with a diaeresis had a lowercase version but no uppercase. The code was also simplified and cleaned up: * Use of `var` statements everywhere * Systematic use of semicolons * Proper looping over arrays and objects. Thanks to @oinopion for his help in getting the javascript into proper shape. Fixes #8561, #11035.
2014-03-05Fixed #22207 -- Added support for GenericRelation reverse lookupsGabe Jackson
GenericRelation now supports an optional related_query_name argument. Setting related_query_name adds a relation from the related object back to the content type for filtering, ordering and other query operations. Thanks to Loic Bistuer for spotting a couple of important issues in his review.
2014-03-05Fixed #14549 - Removed restriction of single FKs on intermediary tablesAkis Kesoglou
Thanks to Loic Bistuer for review. Minor changes to error messages done by committer.
2014-03-05Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlengthChris Wilson
2014-03-05Fixed #7571 -- Fixed parameter matching in include()'d urlpatternAthena
Fixed URL resolving in the case where an outer regex includes an inner regex and both regexes use positional parameters instead of named groups, causing the outer regex's parameters to override the inner regex's. Modified the regex url resolver so that it will concatenates and then normalizes, instead of normalizing and then concatenating.
2014-03-04Fixed three small flake8 violations.Alex Gaynor
2014-03-04Merge pull request #2396 from loic/ticket21893Andrew Godwin
Fixed #21893 -- ModelState didn't account for MTI parents inherited from abstract models.
2014-03-05Fixed #21893 -- ModelState didn't account for MTI parents inherited from ↵Loic Bistuer
abstract models.
2014-03-04Fixed #22085 -- Added a feature for setting non-expiring keys as the default.zedr
This feature allows the default `TIMEOUT` Cache argument to be set to `None`, so that cache instances can set a non-expiring key as the default, instead of using the default value of 5 minutes. Previously, this was possible only by passing `None` as an argument to the set() method of objects of type `BaseCache` (and subtypes).
2014-03-04Fixed typo in internal CharField methodChris Wilson
2014-03-04Cleaned up a repr() hack that caused problems on Python3.Russell Keith-Magee
2014-03-03Fixed #16727 -- Added protocol-relative URL support to ↵Thomas Sorrel
contenttypes.views.shortcut.
2014-03-03Allowed custom querysets when prefetching single valued relationsLoic Bistuer
The original patch for custom prefetches didn't allow usage of custom queryset for single valued relations (along ForeignKey or OneToOneKey). Allowing these enables calling performance oriented queryset methods like select_related or defer/only. Thanks @akaariai and @timgraham for the reviews. Refs #17001.
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-03-03Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().Greg Chapple
Allows custom behavior for setting initial form data in ModelAdmin. By default, initial data is set via GET params. The new method allows this behavior to be overridden. Thanks egasimus for the suggestion.
2014-03-03Corrected expected test output to allow for cleanups in signal and ↵Russell Keith-Magee
compatibility checks.
2014-03-03Added backwards compatibliity checks to reference documentation.Russell Keith-Magee
2014-03-03Fixed #22193 -- Made hint a truly optional arugment on check messages.Russell Keith-Magee
Thanks to Thomas Güttler for the suggestion.
2014-03-03Edited model and field checks for grammar and consistency.Russell Keith-Magee
2014-03-03Edited model check messages for grammar and consistency.Russell Keith-Magee
2014-03-03Edited MySQL-specific check messages for grammar and consistency.Russell Keith-Magee
2014-03-03Edited contrib.sites check messages for grammar and consistency.Russell Keith-Magee
2014-03-03Cleanup of contrib.contenttypes check messages.Russell Keith-Magee
2014-03-03Edited contrib.auth check messages for grammar and consistency.Russell Keith-Magee
2014-03-03Edited contrib.admin check messages for grammar and consistency.Russell Keith-Magee
2014-03-02Restored aliases for two APIs removed by app-loading.Aymeric Augustin
2014-03-01Fixed #22172 -- Allowed index_together to be a single list (rather than list ↵Anubhav Joshi
of lists).. Thanks EmilStenstrom for the suggestion.
2014-03-01Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html()Erik Romijn
2014-03-01Fixed #15318 -- Added settings for language cookie max-age, path, domainSergey Kolosov
Introduced a number of settings to configure max-age, path, and domain for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and LANGUAGE_COOKIE_DOMAIN. Thanks sahid for the suggestion.
2014-03-01Fixed #22168 -- Fixed migrations failing on sqlite when column names are SQL ↵Baptiste Mispelon
keywords Thanks to trac user fallen_flint for the report and initial patch.
2014-03-01Fixed #22137 -- Made Widget.is_hidden a read-only propertyClaude Paroz
Thanks django at patjack.co.uk for the report and the review.
2014-02-28Fix keyword agument names in RunPython to be positionalAndrew Godwin
2014-02-28Removed Django 1.5 upgrade hints for {% url %} tag.Tim Graham
Refs #19280 and Refs #19392.