summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-06-06Merge pull request #1245 from oinopion/list_select_relatedMarc Tamlyn
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-06Fixed #20564 -- Generic relations exclude() regressionAnssi Kääriäinen
The patch for #19385 caused a regression in certain generic relations .exclude() filters if a subquery was needed. The fix contains a refactoring to how Query.split_exclude() and Query.trim_start() interact. Thanks to Trac alias nferrari for the report.
2013-06-05Fixed #19080 -- Fine-grained control over select_related in adminTomek Paczkowski
2013-06-05Fixed #17927 -- Added initial values support for BaseGenericInlineFormSetBojan Mihelac
Thanks Fak3 for the suggestion.
2013-06-04Fixed #18924 -- Made test.Client.logout send user_logged_out signal.Tim Graham
Thanks awsum for the suggestion and Pavel Ponomarev and Florian Hahn for the patch.
2013-06-04Fixed #17601 -- expose underlying db exceptions under py2James Aylett
Use __cause__ to expose the underlying database exceptions even under python 2.
2013-06-03Fixed #20532 -- Reverse auth views by name, not by path.Gavin Wahl
Auth views should be reversed by name, not their locations in `django.contrib.auth.views`. This allows substituting your own implementations of the auth views.
2013-06-03Fixed loaddata for Django checkouts with non ASCII chars in the name.Florian Apolloner
2013-06-03Fixed small regression from 51aa000378.Aymeric Augustin
A test failed if the path to the Django checkout contained a dot. Refs #20485.
2013-06-02Fixed #20485 -- Refactored loaddata for speed.Aymeric Augustin
Thanks Anssi for reporting this performance bottleneck.
2013-06-02Added get_app_paths() to the AppCache.Aymeric Augustin
This method is useful to discover files inside apps.
2013-06-02Switched to using some constants the hmac module exposes.Alex Gaynor
2013-06-02Fixed admindoc template errors introduced by 02fd87c821.Simon Charette
Also regenerated the affected translation template. Refs #20540.
2013-06-01Fixed #18388 - Added InlineModelAdmin.get_max_num hook.Tim Graham
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work on the patch.
2013-06-01Fixed #20337 -- Clarified error message when database relation is not allowed.Dan Loewenherz
2013-06-01Added minor splitting optimization in django.utils.ipv6._unpack_ipv4Danilo Bargen
2013-06-01Updated contrib.admindocs translation templateClaude Paroz
2013-06-01Fixed #20540 -- Added more translatable strings to contrib.admindocsClaude Paroz
Thanks lborgav for the initial patch.
2013-06-01Fixed #18481 -- Wrapped request.FILES read error in UnreadablePostErrorClaude Paroz
Thanks KyleMac for the report, André Cruz for the initial patch and Hiroki Kiyohara for the tests.
2013-06-01Fixed #18169 -- NoReverseMatch not silenced if from block.superAnssi Kääriäinen
2013-06-01Fixed #20404 -- Added a keys() method to ContextList.Chris Wilson
It's useful to be able to list all the (flattened) keys of a ContextList, to help you figure out why the variable that's supposed to be there is not. No .values() or .items() added as the definition for those aren't clear. The patch is Chris Wilson's patch from pull request 1065 with some modifications by committer.
2013-05-31Improved the usage message of the test command.René Fleschenberg
2013-05-31Fixed #18681 -- BaseModelAdmin.get_form and InlineModelAdmin.get_formset no ↵Loic Bistuer
longer bypass get_fieldsets Thanks msopacua for the report.
2013-05-31Merge pull request #1232 from fusionbox/normalize_emailClaude Paroz
Fixed #20531 -- Don't hard-code class names when calling static methods
2013-05-30Added missing stacklevel arg in forms/models.pyClaude Paroz
2013-05-30Fixed #19425 - Added InlineModelAdmin.get_extra hook.Tim Graham
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-30Remove debug printsAndrew Godwin
2013-05-30Use correct model versions for field operationsAndrew Godwin
2013-05-30Fix error in ModelState.clone() not copying deep enoughAndrew Godwin
2013-05-30Add an Executor for end-to-end runningAndrew Godwin
2013-05-30Allow retrieval of project state at start of migrationsAndrew Godwin
2013-05-30Merge pull request #1027 from intgr/debug_no_exc_messageTim Graham
Clearer explanation when exception has no message
2013-05-30Fixed #16856 - Added a way to clear select_related.Tim Graham
Thanks Carl for the suggestion and David Cramer for the patch.
2013-05-30Fixed #20272 - Moved update_fields existence check into Model._do_update.Tim Graham
Thanks Gavin Wahl.
2013-05-30Fixed #20509 - Proper parsing for dumpdata --pks option.Tim Graham
Thanks weipin for the report and Baptiste Mispelon for the patch.
2013-05-30Fixed #16436 -- defer + annotate + select_related crashTai Lee
Correctly calculate the ``aggregate_start`` offset from loaded fields, if any are deferred, instead of ``self.query.select`` which includes all fields on the model. Also made some PEP 8 fixes.
2013-05-29Don't hard-code class names when calling static methodsGavin Wahl
normalize_email should be called on the instance, not the class. This has the same effect normally but is more helpful to subclassers. When methods are called directly on the class, subclasses can't override them.
2013-05-29Start adding operations that work and tests for themAndrew Godwin
2013-05-29Fixed #20331 -- Allowed admin actions to serve StreamingHttpResponsesTim Graham
Thanks Edwin.
2013-05-29Fixed #15697 -- Made sqlindexes aware of auto-created tablesClaude Paroz
Thanks mbertheau for the report and Ash Christopher for the initial patch.
2013-05-29Fixed #15653 - Error in admin pagination tag.Tim Graham
Thanks jcumbo@ for the report and adamzap and nott for the patch.
2013-05-28Fixed #20484 -- Added model validation for GenericIPAddressFieldTim Graham
GenericIPAddressField must not allow blank for NOT NULL fields Thanks Erik Romijn.
2013-05-27Fixed #20503 - Moved doctest utilities in with the rest of the deprecated ↵Carl Meyer
test code. The ``DocTestRunner`` and ``OutputChecker`` were formerly in ``django.test.testcases``, now they are in ``django.test.simple``. This avoids triggering the ``django.test._doctest`` deprecation message with any import from ``django.test``. Since these utility classes are undocumented internal API, they can be moved without a separate deprecation process. Also removed the deprecation warnings specific to these classes, as they are now covered by the module-level warning in ``django.test.simple``. Thanks Anssi for the report. Refs #17365.
2013-05-27Fixed #20014 -- implemented get_key_columns() for OracleShai Berger
Thanks Aymeric Augustin for reporting
2013-05-27Fixed #20182 - admin lookup should treat 0 as False for __isnullTim Graham
Thanks Benjie Chen.
2013-05-27Fixed #11603 - Added django.test.SimpleTestCase.assertFormsetErrorTim Graham
Thank-you Martin Green for the patch.
2013-05-27Fixed #20501 -- failure of datetime queries with timezones under OracleShai Berger
2013-05-27Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_createTim Graham
Thanks wilfred@, poirier, and charettes for work on the patch.
2013-05-27Fixed #17582 - Added message to DoesNotExist exceptions.Tim Graham
Thanks simon@ for the suggestion and JordanPowell for the initial patch.
2013-05-27Fixed #20507 -- SubqueryConstraint alias handlingAnssi Kääriäinen
MySQL should work now, too.