summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 #18110 -- Improve template cache tag documentationJulian Bez
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-13Removed escaping test of query contentClaude Paroz
As the content of last_executed_query() is not under Django's control for most backends, it is useless to test too specific aspects of it.
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-12Added missing encoding prefix in localflavor testClaude Paroz
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-09Added note about including fixtures hashing algorithmClaude Paroz
Refs #18157.
2012-06-09Fixed #18157 -- Documented that setting PASSWORD_HASHERS can speed up testsClaude Paroz
2012-06-09Fixed pagination example wrt new next_page_number behaviorClaude Paroz
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-09Removed test of connection features before setting up databasesClaude Paroz
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-08Fixed #18440 -- Pointed out that ReportLab is not thread safe. Thanks, ↵Adrian Holovaty
jens@lundstroem.com
2012-06-08Added myself to committersAnssi Kääriäinen
2012-06-08Fixed an error in a git command.Aymeric Augustin
2012-06-08Revised the text in the 'Processing the data from a form' section.Audrey Roy
2012-06-08Revised the text in the 'Using a form in a view' section.Audrey Roy
2012-06-08Clarified the purpose of the pull requsets docsAymeric Augustin
One is for the community, the other for the core team. Thanks Reinout van Rees for the report.
2012-06-08Explained an alternative way to fetch a branch.Aymeric Augustin
This avoids adding each contributor as a remote. Thanks Fruneau for the report.
2012-06-08Proof-read the new contributing guide.Aymeric Augustin
Many thanks to Daniele Procida.
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-08Merge pull request #127 from dhepper/masterAymeric Augustin
Fixed #18433 -- Fixed "View on Site" link in inline admin for models with custom PK Thanks dhepper for the patch and apollo13 for the review.
2012-06-08Fixed #18125 -- Explained caveat with filtersAymeric Augustin
Thanks ebrelsford AT gmail.com and oinopion.
2012-06-08Small corrections to committing-code docsLuke Plant
2012-06-07Fixed #18445 -- Added a links in the docs.Aymeric Augustin
Thanks Audrey Roy for the patch.
2012-06-07Fixed #18433 -- Fixed "View on Site" link in inline admin for models with ↵Daniel Hepper
custom PK
2012-06-07Fixed #17933 -- Added a missing label to the docs.Aymeric Augustin
2012-06-07Fixed #18436 -- Updated contributing docs for git.Aymeric Augustin
Most of the credit for this large patch goes to Anssi Kääriäinen. Many thanks to all the people who contributed to the discussion.
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 #17933 -- Added intro note to writing-documentation.txtAdrian Holovaty
Based on initial patch by Thomas Westfeld
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-07Merge pull request #122 from jakul/issue-18442Aymeric Augustin
Fixed #18442 -- Invalid locale name in docs.
2012-06-07fix bad locale namesjakul