summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2013-08-01Removed unused model option "admin"Tim Graham
2013-07-31Fixed #20649 -- Allowed blank field display to be defined in the initial ↵Alex Couper
list of choices.
2013-07-31Fixed #12103 -- Added AuthenticationForm.confirm_login_allowed to allow ↵Tim Graham
customizing the logic policy. Thanks ejucovy and lasko for work on the patch.
2013-07-31Fixed #19987 -- Disabled host validation when DEBUG=True.Will Hardy
The documentation promises that host validation is disabled when DEBUG=True, that all hostnames are accepted. Domains not compliant with RFC 1034/1035 were however being validated, this validation has now been removed when DEBUG=True. Additionally, when DEBUG=False a more detailed SuspiciousOperation exception message is provided when host validation fails because the hostname is not RFC 1034/1035 compliant.
2013-07-31Fixed #20826 -- Moved Manager.raw() and Manager._insert() to the QuerySet class.Loic Bistuer
2013-07-31Added a bugfix in docutils 0.11 -- docs will now build properly.Tim Graham
2013-07-31Fixed #15624 -- Made sure aggregations are present in SELECTFlorian Hahn
2013-07-31Fixed #11521 -- usage of field.attname in .update()Anssi Kääriäinen
Fixed already by previous patch, only test added.
2013-07-31Added field.attname to Options.name_mapAnssi Kääriäinen
The change also removed allow_explicit_fk from sql/query.py.
2013-07-31Fixed #20348 -- Consistently handle Promise objects in model fields.Tai Lee
All Promise objects were passed to force_text() deep in ORM query code. Not only does this make it difficult or impossible for developers to prevent or alter this behaviour, but it is also wrong for non-text fields. This commit changes `Field.get_prep_value()` from a no-op to one that resolved Promise objects. All subclasses now call super() method first to ensure that they have a real value to work with.
2013-07-31Fixed #20793 -- Added Last-Modified header to sitemaps.Julian Bez
2013-07-31Fixed some ReST errors; refs #20819.Tim Graham
2013-07-31Fixed #20779 -- Documented AdminSite.app_index_template; refs #8498.SusanTan
Thanks CollinAnderson for the report.
2013-07-31Added a test for AdminSite.app_index_template; refs #8498.SusanTan
2013-07-31Merge pull request #1416 from thirstydigital/tickets/20819-staticfiles-serve-404Jannis Leidel
Fixed #20819 -- Return 404 instead of 500 error when ``staticfiles`` vie...
2013-07-31Fixed #20819 -- Return 404 instead of 500 error when ``staticfiles`` view is ↵Tai Lee
used in production.
2013-07-30Fixed #20806 -- Cached loader caches find_templateGavin Wahl
The cached template loader should cache find_template in addition to load_template.
2013-07-30Fixed #10491 -- Allowed passing lazy objects to HttpResponseRedirect.Baptiste Mispelon
Thanks liangent for the report.
2013-07-30Added support for IPython.start_ipython in shellMinRK
IPython 1.0 introduces an actual stable public API function for starting a normal (non-embedded) IPython session. This is an official public API, which is promised to survive implementation changes.
2013-07-30Updated flatpages tests to override CSRF_FAILURE_VIEW.Kirill Zaitsev