Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #15910 -- Show delete links for all admin inline ↵ticket_15910.oldArthur de Jong2013-06-021-41/+47
| | | | | | | | | formset rows Move the addition of delete links to the initialisation code instead of to the add event handler to ensure that all rows that should have a delete link end up with one (not just the rows that are dynamically added).
* Fixed admindoc template errors introduced by 02fd87c821.Simon Charette2013-06-023-29/+32
| | | | | | Also regenerated the affected translation template. Refs #20540.
* Fixed #18388 - Added InlineModelAdmin.get_max_num hook.Tim Graham2013-06-021-1/+5
| | | | | Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work on the patch.
* Fixed #20337 -- Clarified error message when database ↵Dan Loewenherz2013-06-011-4/+2
| | | | relation is not allowed.
* Added minor splitting optimization in ↵Danilo Bargen2013-06-011-2/+1
| | | | django.utils.ipv6._unpack_ipv4
* Updated contrib.admindocs translation templateClaude Paroz2013-06-011-1/+176
|
* Fixed #20540 -- Added more translatable strings to ↵Claude Paroz2013-06-019-50/+48
| | | | | | contrib.admindocs Thanks lborgav for the initial patch.
* Fixed #18481 -- Wrapped request.FILES read error in ↵Claude Paroz2013-06-011-2/+8
| | | | | | | UnreadablePostError Thanks KyleMac for the report, André Cruz for the initial patch and Hiroki Kiyohara for the tests.
* Fixed #18169 -- NoReverseMatch not silenced if from ↵Anssi Kääriäinen2013-05-311-2/+1
| | | | block.super
* Fixed #20404 -- Added a keys() method to ContextList.Chris Wilson2013-05-311-0/+10
| | | | | | | | | | | 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.
* Improved the usage message of the test command.René Fleschenberg2013-05-311-1/+1
|
* Fixed #18681 -- BaseModelAdmin.get_form and ↵Loic Bistuer2013-05-311-8/+8
| | | | | | InlineModelAdmin.get_formset no longer bypass get_fieldsets Thanks msopacua for the report.
* Merge pull request #1232 from fusionbox/normalize_emailClaude Paroz2013-05-312-2/+2
|\ | | | | Fixed #20531 -- Don't hard-code class names when calling static methods
| * Don't hard-code class names when calling static methodsGavin Wahl2013-05-302-2/+2
| | | | | | | | | | | | | | 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.
* | Added missing stacklevel arg in forms/models.pyClaude Paroz2013-05-301-1/+1
| |
* | Fixed #19425 - Added InlineModelAdmin.get_extra hook.Tim Graham2013-05-301-1/+5
| | | | | | | | Thanks dave@ for the suggestion and Rohan Jain for the patch.
* | Merge pull request #1027 from intgr/debug_no_exc_messageTim Graham2013-05-301-2/+2
|\ \ | | | | | | Clearer explanation when exception has no message
| * | Clearer explanation when exception has no messageMarti Raudsepp2013-04-231-2/+2
| | | | | | | | | | | | | | | "No exception supplied" is misleading; actually there is an exception, but there's no message string.
* | | Fixed #16856 - Added a way to clear select_related.Tim Graham2013-05-301-1/+5
| | | | | | | | | | | | Thanks Carl for the suggestion and David Cramer for the patch.
* | | Fixed #20272 - Moved update_fields existence check into ↵Tim Graham2013-05-301-11/+11
| | | | | | | | | | | | | | | | | | Model._do_update. Thanks Gavin Wahl.
* | | Fixed #20509 - Proper parsing for dumpdata --pks option.Tim Graham2013-05-301-3/+4
| | | | | | | | | | | | Thanks weipin for the report and Baptiste Mispelon for the patch.
* | | Fixed #16436 -- defer + annotate + select_related crashTai Lee2013-05-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fixed #20331 -- Allowed admin actions to serve ↵Tim Graham2013-05-291-4/+5
| | | | | | | | | | | | | | | | | | StreamingHttpResponses Thanks Edwin.
* | | Fixed #15697 -- Made sqlindexes aware of auto-created tablesClaude Paroz2013-05-291-2/+2
| | | | | | | | | | | | | | | Thanks mbertheau for the report and Ash Christopher for the initial patch.
* | | Fixed #15653 - Error in admin pagination tag.Tim Graham2013-05-291-1/+1
| | | | | | | | | | | | | | | Thanks jcumbo@ for the report and adamzap and nott for the patch.
* | | Fixed #20484 -- Added model validation for ↵Tim Graham2013-05-281-0/+2
| |/ |/| | | | | | | | | | | | | GenericIPAddressField GenericIPAddressField must not allow blank for NOT NULL fields Thanks Erik Romijn.
* | Fixed #20503 - Moved doctest utilities in with the rest ↵Carl Meyer2013-05-272-79/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the deprecated 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.
* | Fixed #20014 -- implemented get_key_columns() for OracleShai Berger2013-05-271-0/+12
| | | | | | | | Thanks Aymeric Augustin for reporting
* | Fixed #20182 - admin lookup should treat 0 as False for ↵Tim Graham2013-05-271-2/+2
| | | | | | | | | | | | __isnull Thanks Benjie Chen.
* | Fixed #11603 - Added ↵Tim Graham2013-05-271-0/+77
| | | | | | | | | | | | django.test.SimpleTestCase.assertFormsetError Thank-you Martin Green for the patch.
* | Fixed #20501 -- failure of datetime queries with ↵Shai Berger2013-05-271-3/+4
| | | | | | | | timezones under Oracle
* | Fixed #16137 - Removed kwargs requirement for ↵Tim Graham2013-05-271-2/+0
| | | | | | | | | | | | | | QuerySet.get_or_create Thanks wilfred@, poirier, and charettes for work on the patch.
* | Fixed #17582 - Added message to DoesNotExist exceptions.Tim Graham2013-05-271-2/+5
| | | | | | | | | | Thanks simon@ for the suggestion and JordanPowell for the initial patch.
* | Fixed #20507 -- SubqueryConstraint alias handlingAnssi Kääriäinen2013-05-271-2/+1
| | | | | | | | MySQL should work now, too.
* | Fixed #12491 -- Tweak checkbox widget help text ↵Ramiro Morales2013-05-271-1/+1
| | | | | | | | | | | | alignment on the admin. Thanks master' for the report and Niels van Dijk for the fix
* | Reimplemented PostGIS spatial_version with cached_propertyClaude Paroz2013-05-271-46/+35
| |
* | Fixed #20507 -- SubqueryConstraint alias relabelingAnssi Kääriäinen2013-05-272-6/+8
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #1217 from erikr/better-settings-errors2Claude Paroz2013-05-271-1/+4
|\ \ | | | | | | Fixed #20443 -- Import errors in settings cause confusing error messages
| * | Fixed #20443 -- Import errors in settings cause ↵Erik Romijn2013-05-251-1/+4
| | | | | | | | | | | | confusing error messages
* | | Replaced `and...or...` constructs with PEP 308 ↵Ramiro Morales2013-05-2723-37/+35
| | | | | | | | | | | | conditional expressions.
* | | Fixed #19866 -- Added security logger and return 400 for ↵Preston Holmes2013-05-2622-48/+199
|/ / | | | | | | | | | | | | | | | | | | | | | | SuspiciousOperation. 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.
* | Fixed #19938 -- Consumed iterator only once in ↵Andrew Jesaitis2013-05-251-1/+3
| | | | | | | | | | | | paginator's Page Thanks Joshua Fialkoff for the report.
* | Fixed #20296 -- Allowed SafeData and EscapeData to be lazyBaptiste Mispelon2013-05-251-3/+7
| |
* | Fixed #11725 -- Made possible to create widget label tag ↵Claude Paroz2013-05-251-3/+4
| | | | | | | | | | | | | | without "for" Thanks Denis Martinez for the report and initial patch, and Sergey Kolosov for bringing the patch up to date.
* | Updated translation catalogsClaude Paroz2013-05-254-134/+154
| | | | | | | | Updated core/admin/admindocs/comments translation catalogs.
* | Fixed some minor translation-related issuesClaude Paroz2013-05-252-1/+2
| |
* | Fixed #20455 -- Do not use ngettext for undefined pluralsMarc Egli2013-05-256-6/+6
| | | | | | | | | | | | | | 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.
* | Removed obsolete attribute of DjangoTranslationClaude Paroz2013-05-251-1/+0
| |
* | Fixed #20099 -- Eased subclassing of ↵Claude Paroz2013-05-251-9/+15
| | | | | | | | | | | | | | BrokenLinkEmailsMiddleware Thanks Ram Rachum for the report and the initial patch, and Simon Charette for the review.
* | Fixed #14825 -- LocaleMiddleware keeps languageVlastimil Zíma2013-05-251-0/+4
| | | | | | | | * LocaleMiddleware stores language into session if it is not present there.