summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2013-06-28Support 'pyformat' style parameters in raw queries, Refs #10070Shai Berger
Add support for Oracle, fix an issue with the repr of RawQuerySet, add tests and documentations. Also added a 'supports_paramstyle_pyformat' database feature, True by default, False for SQLite. Thanks Donald Stufft for review of documentation.
2013-06-27Fixed #20571 -- Added an API to control connection.needs_rollback.Aymeric Augustin
This is useful: - to force a rollback on the exit of an atomic block without having to raise and catch an exception; - to prevent a rollback after handling an exception manually.
2013-06-27Fixed #20590: Documented new test case orderingAndrew Godwin
2013-06-26Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.Tim Graham
uid is now base64 encoded in password reset URLs/views. A backwards compatible password_reset_confirm view/URL will allow password reset links generated before this change to continue to work. This view will be removed in Django 1.7. Thanks jonash for the initial patch and claudep for the review.
2013-06-26Fixed #20658 -- Fixed bad reST formatting and missing parentheses in the ↵Loic Bistuer
docs for CBV mixins Thanks to Keryn Knight for the report.
2013-06-24Clarified get_list_or_404 docs, refs #14150.Tim Graham
2013-06-24Fixed #20643 -- Fixed implementation of JSONResponseMixin in CBV docsBaptiste Mispelon
Thanks to Michal Sládek for the report and initial patch, and to loic84 for the review.
2013-06-24Corrected minor typos in FileUploadHandler.receive_data_chunk docs.Simon Meers
2013-06-23Fixed errors and inconsistencies in CBV topic documentation.Baptiste Mispelon
The code examples should now work correctly. The `get_context_data` method in the examples was changed when necessary to adopt a singular style (get context with super(...), add the extra keys to the dict then return it). Thanks to Remco Wendt for the initial report and to Tim Graham for the review.
2013-06-21Fixed #20612 -- Fixed incorrect wording in CBV documentationBaptiste Mispelon
Thanks to ndokos for the report.
2013-06-19Fixed broken reference in documentation.Baptiste Mispelon
2013-06-18Fixed #20593 -- Allow blank passwords in check_password() and set_password()Erik Romijn
2013-06-16Fixed #20464 -- Added a `total_error_count` method on formsets.Baptiste Mispelon
Thanks to frog32 for the report and to Tim Graham for the review.
2013-06-14Fixed #20604 - Fixed file example in docs.Tim Graham
Thanks Chris Lasher for the report.
2013-06-13Fixed #20000 -- Allowed ModelForm meta overrides for label, help_text and ↵Loic Bistuer
error_messages
2013-06-13Fixed order of base classes in CBV mixin docsDanilo Bargen
2013-06-12Fixed #20579 -- Improved TransactionTestCase.available_apps.Aymeric Augustin
Also moved its documentation to the 'advanced' section. It doesn't belong to the 'overview'. Same for TransactionTestCase.reset_sequences. When available_apps is set, after a TransactionTestCase, the database is now totally empty. post_syncdb is fired at the beginning of the next TransactionTestCase. Refs #20483.
2013-06-11FormSet.forms is an iterable, so just iterate over itWilfred Hughes
2013-06-10Fixed #20578 - Typo in BaseFormSet module nameTim Graham
2013-06-10Fixed #18134 -- BoundField.label_tag now includes the form's label_suffixGabe Jackson
There was an inconsistency between how the label_tag for forms were generated depending on which method was used: as_p, as_ul and as_table contained code to append the label_suffix where as label_tag called on a form field directly did NOT append the label_suffix. The code for appending the label_suffix has been moved in to the label_tag code of the field and the HTML generation code for as_p, as_ul and as_table now calls this code as well. This is a backwards incompatible change because users who have added the label_suffix manually in their templates may now get double label_suffix characters in their forms.
2013-06-10Added TransactionTestCase.available_apps.Aymeric Augustin
This can be used to make Django's test suite significantly faster by reducing the number of models for which content types and permissions must be created and tables must be flushed in each non-transactional test. It's documented for Django contributors and committers but it's branded as a private API to preserve our freedom to change it in the future. Most of the credit goes to Anssi. He got the idea and did the research. Fixed #20483.
2013-06-09Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTSTim Graham
2013-06-09Update media.txtKenny Rachuonyo
Fixed typo: froms -> forms
2013-06-06Explained that timezone.now() always returns times in UTC.Jacob Kaplan-Moss
The docs were ambiguous about the time zone for now(), leading people to assume that it would be the current time zone rather that UTC.
2013-06-05Proofed the 1.6 release notesTim Graham
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-01Fixed #20543 - Typo in db model fields docs.Tim Graham
Thanks i.amber.jain@ for the report.
2013-05-31Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.Tim Graham
Thanks czambran.
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-30Tweak caching decorators/utility functions xrefs.Ramiro Morales
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-28Fixed #20523 - Incorrect form field for FilePathField.Tim Graham
Thanks sane4ka.sh@ for the report.
2013-05-28Fixed #20513 - Expanded docs on QuerySet caching.Tim Graham
Thanks seddonym.
2013-05-27Fixed #11603 - Added django.test.SimpleTestCase.assertFormsetErrorTim Graham
Thank-you Martin Green for the patch.
2013-05-27Patch for ticket #20506 - documentation typeyishaibeeri
2013-05-25Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.Preston Holmes
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.
2013-05-23Fixed #20316 - Clarified transaction behavior of TestCase.Tim Graham
Thanks uberj@ for the report and lolek09 for the patch.
2013-05-23Fixed comments for translators example in the i18n documentationPanagiotis H.M. Issaris
The documentation regarding adding a comment for translators was confusing as the example contained mismatching tags.
2013-05-20Fixed #20471 - Typos in topics/forms/formsets.txtTim Graham
2013-05-20Fixed #20403 -- Ignore forms marked for deletion when validating max_num.Ryan Kaskel
2013-05-19Changed API to disable ATOMIC_REQUESTS per view.Aymeric Augustin
A decorator is easier to apply to CBVs. Backwards compatibility isn't an issue here, except for people running on a recent clone of master. Fixed a few minor problems in the transactions docs while I was there.
2013-05-19Fixed #20183 - Clarified docs assumption that certain objects exist in database.Tim Graham
Thanks Tomasz Jaskowski for the patch.
2013-05-19add missing imports to the examples in the 'Forms'leandrafinger
2013-05-19Add missing imports and models to the examples in internationalization and ↵Silvan Spross
localization documentation
2013-05-19Fixed some line wrapping, refs #20233Tim Graham
2013-05-19Fixed a rest mistake I introduced in d5ce2ff.Aymeric Augustin
2013-05-19Improve cookie based session backend docs.Marc Tamlyn
Note the don't require sessions to be in installed apps.
2013-05-19Merge pull request #1145 from postrational/ticket_20233Andrew Godwin
Fixed #20233 - Full custom user model example isn't really full
2013-05-19refs #20233 - Full custom user model example isn't really fullpostrational
Addition and fix for custom user model example documentation. https://code.djangoproject.com/ticket/20233
2013-05-19Merge pull request #1129 from frog32/masterMarc Tamlyn
Add needed Imports to the Documentation