summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-06-16Updated the admin's minified JS files.Julien Phalip
2012-06-16Fixed #18477 -- Fixed colspan value when a TabularInline form contains ↵Julien Phalip
validation errors. Thanks to yedpodtrzitko for the report and patch.
2012-06-16Skip GeometryFieldTest if there's no spacial database.Julien Phalip
2012-06-15Favored text (StringIO) over binary content for deserializationClaude Paroz
This is also more Python 3 compatible, as the json module in Python 3 is expecting text. Thanks Vinay Sajip for noticing it.
2012-06-14IfParser.next() method renamed to avoid confusion with iterator protocol.Luke Plant
2012-06-14Reverted part of 169b1a40 which was mistakenly applied to a non-iterator class.Luke Plant
Doing next(IfParser()) works for Python 2.7, because it calls IfParser.next(), but in Python 3 will call IfParser.__next__() which does not work since it is not an iterator and does not have that method.
2012-06-14Executed SpatialRefSysTest only with spatial backendClaude Paroz
2012-06-14Discovered some geodjango tests with standard mechanismClaude Paroz
No need to special case tests discovery for regular first-level gis tests.
2012-06-14Fixed #17754 -- Refactored gis.measureClaude Paroz
This refactoring does allow much easier MeasureBase subclassing. Many thanks to Ricardo di Virgilio for the initial patch.
2012-06-14Fixed #12140 -- Fixed http.urlencode result for empty listsClaude Paroz
Thanks aneil for the report and the initial patch.
2012-06-13Fixed connection.queries encoding handling on OracleAnssi Kääriäinen
In addition, removed a possibly problematic .filter() call from backends.test_query_encoding test. It is possible the .filter could cause collation problems on MySQL, and as it wasn't absolutely needed for the test it seemed better to get rid of the call. Refs #18461.
2012-06-13Fixed #18461 -- Ensured that last_executed_query returns UnicodeClaude Paroz
Thanks Anssi Kääriäinen for the review.
2012-06-12Cleaned up locale-related encoding issuesClaude Paroz
2012-06-11Fixed #18463 -- Forced type() argument to be a byte stringClaude Paroz
2012-06-11Fixed #18451 -- Vastly improved class based view documentation.Jannis Leidel
Many thanks to Daniel Greenfeld, James Aylett, Marc Tamlyn, Simon Williams, Danilo Bargen and Luke Plant for their work on this.
2012-06-10Fixed #18457 -- Fixed encoding error in yaml deserializerClaude Paroz
Thanks jpaugh64 for the report.
2012-06-10Corrected way to get URL of object in admin history templateLuke Plant
2012-06-09Fixed #17159 -- Validated returned number of next|previous_page_numberClaude Paroz
Thanks mehta.apurva at gmail.com for the report and the initial patch and neaf for the complete patch.
2012-06-09Reverted 905e33f, now that DatabaseFeatures does not need confirmClaude Paroz
Connection.features does not need to be confirmed any more, after commit aa42357, rendering obsolete the workaround when using TEST_MIRROR (Refs #16885, #17760).
2012-06-09Fixed #17760 -- Implemented callable database features as cached propertiesClaude Paroz
This does remove the requirement to call features.confirm() method before checking the properties. Thanks cdestiger and Ramiro Morales for their work on the patch.
2012-06-09Fixed #16418 -- Made generic views work with ModelFormsAnssi Kääriäinen
Generic views assumed any object's _meta will be model Options. This is not true for ModelForms for example. Took isinstance(obj, Model) in use instead.
2012-06-08Cleaned whitespace errors introduced in previous commitAnssi Kääriäinen
2012-06-08Fixed #18399 – Added a way to get ContentTypes for proxy modelsSimon Charette
Added kwargs for_concrete_model and for_concrete_models to ContentType methods get_for_model() and get_for_models(). By setting the flag to False, it is possible to get the contenttype for proxy models.
2012-06-08Used git log instead of git show for last commit's timestampAnssi Kääriäinen
The reason for this was that git show included the whole changeset in the output, but only the UTC timestamp was needed. By using git log it is possible to get just the timestamp. The whole changeset can be large, and can cause unicode encoding errors.
2012-06-08Merge pull request #123 from apollo13/ticket18381Aymeric Augustin
Fixed #18381 -- Stopped escaping object ids when passing them to the contenttypes.shortcut view. Thanks apollo13 for the patch and dhepper for the review.
2012-06-07Fixed #18433 -- Fixed "View on Site" link in inline admin for models with ↵Daniel Hepper
custom PK
2012-06-07Fixed #18432 -- Prevented the ForeignKey field from creating an invalid ↵Jann Kleen
query when chained. Thanks, Jann Kleen.
2012-06-07Fixed #18363 -- Added Python 3 compatibility layer.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Alex Gaynor, kezabelle, YorikSar for the review.
2012-06-07Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.Claude Paroz
Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
2012-06-07Don't escape object ids when passing to the contenttypes.shortcut view.Florian Apolloner
This commit also changes the string pk to string_pk instead of id, to test if the admin uses .pk throughout the codebase.
2012-06-07Fixed #18397 -- Avoided referencing lawrence.com.Aymeric Augustin
This commit includes multiple small related changes, see the ticket for a full discussion.
2012-06-07Fixed #10200 -- Raised CommandError when errors happen in loaddata.Claude Paroz
2012-06-07Fixed #14502 -- Added a verbatim template tag.Aymeric Augustin
Thanks SmileyChris for the patch.
2012-06-06Small cleanup in prefetch_related codeLuke Plant
2012-06-06Fixed #18309 - Prefetch related does not work for fkey to multitable ↵Luke Plant
inherited model Thanks to milosu for the report, tests and initial patch.
2012-06-06Made TestNoInitialDataLoading pass with MySQL (Refs #15926)Claude Paroz
2012-06-06Fixed #18184 -- Moved algorithm identification code to hashers moduleClaude Paroz
Thanks Eli Collins for the report and the patch.
2012-06-06Delayed encoding of password and salt in password checking.Claude Paroz
Applied the rule that string encoding should happen as late as possible. This is also a preparation for Python 3 compatibility.
2012-06-06Fixed #17328 -- Added OpenLayersWidget _has_changed methodClaude Paroz
Thanks Will Hardy for the report and the patch.
2012-06-06Fixed #17736 -- Kept maximal floating-point accuracy in from_bboxClaude Paroz
When constructing a polygon with Polygon.from_bbox, do not convert parameters to strings at this stage (str defaults to 12 significant digits). Thanks tdihp@hotmail.com for the report and David Eklung for the patch.
2012-06-05Fixed #15926 -- Added option --no-initial-data to syncdb and flush.Honza Kral
Thanks msiedlarek, jpaugh64 and vlinhart!
2012-06-05Merge branch 'master' of https://github.com/django/djangomartin.bohacek
2012-06-05Ticket #17804 fix.martin.bohacek
2012-06-04Used skipUnless decorator to skip tests in geos tests.Claude Paroz
2012-06-03Fixed #17138 -- Made the sensitive_variables decorator work with object methods.Julien Phalip
2012-06-03Remove the summary attribute of the tableSamuel Sutch
In the discussion here: https://code.djangoproject.com/ticket/17138 it was decided that using the caption for this previously non-visible part of the table element was not semantic, so in this patch is moves that summary to the `title` attribute of the `a` tag which when overed over, on most browsers, will show the text.
2012-06-02Fixed #14478 -- Isolated messages tests from custom TEMPLATE_CONTEXT_PROCESSORSClaude Paroz
2012-06-02Made sitemaps tests use override_settings. Refs #14478Claude Paroz
2012-06-01Made inspectdb tests deal with a smaller generated models.py file.Ramiro Morales
Implemented this by adding a stealth table_name_filter option for the command.
2012-06-01Fixed a typo in a comment. Refs #17742.Aymeric Augustin