summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-09Merge pull request #1460 from loic/ObjectMixins.get_querysetMarc Tamlyn
Improved queryset handling and docs for (Single|Multiple)ObjectMixin.
2013-08-09Improved queryset handling and docs for (Single|Multiple)ObjectMixin.Loic Bistuer
2013-08-08Added an anchor for django.forms.Form.clean in docsTim Graham
2013-08-08Merge pull request #1457 from jaimeirurzun/masterTim Graham
Clarified meaning of models.User.is_authenticated()
2013-08-08Added more on @cached_property, refs #20870Daniele Procida
2013-08-08Revert change to the default Form.clean()Marc Tamlyn
This means it doesn't break for people who are doing `cleaned_data = super(FooForm, self).clean()`.
2013-08-08Form.clean() does not need to return cleaned_data.Marc Tamlyn
If it does, that will be used as the cleaned_data. The default implementation has been changed to match this change.
2013-08-08Clarify meaning of models.User.is_authenticated()Jaime Irurzun
2013-08-08Fixed #20870 -- Documented django.utils.functional.cached_propertyDaniele Procida
2013-08-07Merge pull request #1453 from chrismedrela/ticket20484-improvementPreston Holmes
Fixed #20484 again -- added note to field documentation
2013-08-07Fixed #20484 again -- added note to field documentationChristopher Medrela
2013-08-07Use `usegmt` flag in formatdateDavid Evans
Slightly cleaner and faster than string manipulation. This flag has been available since Python 2.4: http://docs.python.org/2/library/email.util.html#email.utils.formatdate
2013-08-07Fixed #17424 -- annotate() + exclude() bugAnssi Kääriäinen
The bug was already fixed by 01b9c3d5193fe61b82ae8b26242a13fdec22f211, so only tests added. At the same time promote_joins()'s uncoditional flag is gone, it isn't needed for anything any more.
2013-08-06Fixed #20865 -- Fixed raw_id_fields to work with callable limit_choices_to.Collin Anderson
2013-08-06Added section labels in cache docsLeandro Regueiro
2013-08-06Fixed #19918 -- Modified select_for_update to run on the write database.Alex Cucu
2013-08-06Fixed #15511 -- Allow optional fields on ``MultiValueField` subclasses.Tai Lee
The `MultiValueField` class gets a new ``require_all_fields`` argument that defaults to ``True``. If set to ``False``, individual fields can be made optional, and a new ``incomplete`` validation error will be raised if any required fields have empty values. The ``incomplete`` error message can be defined on a `MultiValueField` subclass or on each individual field. Skip duplicate errors.
2013-08-06Fixed #20852 - Fixed incorrectly generated left quotes in docs.Dominic Rodger
Sphinx generates left single quotes for apostrophes after code markup, when right single quotes are required. The easiest way to fix this is just by inserting the unicode character for a right single quote. Instances of the problem were found by looking for ">‘" in the generated HTML.
2013-08-06Merge pull request #1441 from loic/ticket16986Marc Tamlyn
Fixed #16986 -- Model.clean() can report errors on individual fields.
2013-08-06Fixed ordering related test failureAnssi Kääriäinen
Also PEP8 + python_2_unicode_compatible cleanup done.
2013-08-06Fixed #16986 -- Model.clean() can report errors on individual fields.Loic Bistuer
This commit provides the tests for this issue but the actual problem was solved by the ValidationError refactor in f34cfec and ee77d4b. Refs #20199.
2013-08-05Fixed #17667 -- Prevented app loading from skipping nonexistent apps after ↵Tim Graham
the first try Thanks ea2100@ for the report and akaariai for the patch.
2013-08-05Fixed #20850 -- Added MultiWidget.needs_multipart_formTim Heap
2013-08-05Fixed #20832 -- Enabled HTML password reset emailJustin Michalicek
Added optional html_email_template_name parameter to password_reset view and PasswordResetForm.
2013-08-05Fixed #20859 - Clarified Model.clean() example.Jimmy Song
2013-08-05Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.Tim Graham
Thanks Keryn Knight.
2013-08-04Fixed some intermittent Selenium test failures.Julien Phalip
2013-08-04Fixed a small formatting issue.Julien Phalip
2013-08-04Added a note to the 1.6 release about the new `--keep-pot` option for ↵Julien Phalip
`makemessages`. Refs #17008.
2013-08-04Added some Selenium tests for the admin raw id widget.Julien Phalip
2013-08-04Fixed #20860 -- Removed references to defunct chicagocrime.orgTim Graham
2013-08-04Fixed #20842 and #20845 - Added a note on order_by() and improved ↵Daniele Procida
prefetch_related() docs.
2013-08-04Fixed a number of lint warnings, particularly around unused variables.Alex Gaynor
2013-08-04Introduced ModelAdmin.get_fields() and refactored get_fieldsets() to use it.Loic Bistuer
Refs #18681. This also starts the deprecation of ModelAdmin.declared_fieldsets
2013-08-04Fixed #20855 -- Added documentation of current_app and extra_context params ↵Justin Michalicek
to django.contrib.auth views refs #5298 and refs #8342
2013-08-04Merge pull request #1432 from loic/modeladmin.get_search_resultsTim Graham
Moved get_search_results from BaseModelAdmin to ModelAdmin.
2013-08-04Deprecated SortedDict (replaced with collections.OrderedDict)Curtis Maloney
Thanks Loic Bistuer for the review.
2013-08-04Moved get_search_results from BaseModelAdmin to ModelAdmin.Loic Bistuer
Refs #15961.
2013-08-04Fixed #20858 -- Removed erroneous import in tutorial 2.Tim Graham
Thanks AtomicSpark.
2013-08-04Fixed #20822 -- Set content type of default error pages to 'text/html'.Aymeric Augustin
Thanks Jimmy Song for the patch.
2013-08-03Added ModelAdmin.get_search_fields.Loic Bistuer
2013-08-03Added missing request argument to example in URL dispatcher docsAlasdair Nicol
2013-08-02Fixed #18923 -- Corrected usage of sensitive_post_parameters in contrib.authTim Graham
Thanks Collin Anderson for the report.
2013-08-02Fixed LogEntry.get_admin_url() for non-existent models.Petr Dlouhý
Regression introduced by [369b6fa]; refs #18169.
2013-08-02Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer bypasses ↵Loic Bistuer
get_fieldsets(). Refs 23e1b59 which already fixed this issue for ModelAdmin and InlineModelAdmin.
2013-08-02Fixed #20786 -- Cleaned up docs/ref/exceptions.txtDominic Rodger
Thanks Daniele Procida for the suggestion and edits.
2013-08-02Fixed #20838 -- Fixed Geodjango spatialrefsys test failure with postgis-2.0.3Harm Geerts
2013-08-02Fixed #18777 -- Localized form fields with as_text/as_hiddenAleksandra Sendecka
Thanks croldan for the report.
2013-08-02Fixed #17519 -- Fixed missing SQL constraints to proxy models.Tim Graham
Thanks thibaultj for the report, jenh for the patch, and charettes for the tests.
2013-08-01Fixed #20667 - Removed discussion of DEBUG from tutorial.Tim Graham
Forward-port of 3493f18d78 from master.