summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2013-03-29Merge pull request #956 from maikhoepfel/masterTim Graham
Removed ambiguity regarding LANGUAGES setting
2013-03-28Fixed #20146 -- Updated removed_tags exampleferhat elmas
2013-03-25Docs: Remove ambiguity.Maik Hoepfel
The docs to the LANGUAGES setting were using both the term language code and language name for the same thing.
2013-03-24Merge pull request #951 from yohanboniface/set_signed_cookieTim Graham
Fixed signature of HttpResponse.set_signed_cookie in docs.
2013-03-24Fixed #20124 - Fixed doc warnings.Tim Graham
2013-03-24Doc: "value" is arg not kwarg in HttpResponse.set_signed_cookieYohan Boniface
2013-03-24Fixed #15124 -- Changed the default for BooleanField.Aymeric Augustin
Thanks to the many contributors who updated and improved the patch over the life of this ticket.
2013-03-23Merge pull request #942 from stephrdev/trac-18000Jannis Leidel
Fixed #18000 -- Moved the code to handle goto requests to an extra WizardView method.
2013-03-23Updated docs, changed versionchanged to versionadded.Stephan Jaekel
2013-03-23Added some class attributes to pass initial form lists to the WizardView ↵Stephan Jaekel
without the need to add them in the as_view call.
2013-03-23Moved the code to handle goto requests in a extra WizardView method.Stephan Jaekel
2013-03-22Added missing markup to docs.Tim Graham
2013-03-21Docs template name mistakeTom V
change_list_request.html doesn't exist, it's named  change_list_results.html
2013-03-21Fixed #20084 -- Provided option to validate formset max_num on server.Andrew Gorcester
This is provided as a new "validate_max" formset_factory option defaulting to False, since the non-validating behavior of max_num is longstanding, and there is certainly code relying on it. (In fact, even the Django admin relies on it for the case where there are more existing inlines than the given max_num). It may be that at some point we want to deprecate validate_max=False and eventually remove the option, but this commit takes no steps in that direction. This also fixes the DoS-prevention absolute_max enforcement so that it causes a form validation error rather than an IndexError, and ensures that absolute_max is always 1000 more than max_num, to prevent surprising changes in behavior with max_num close to absolute_max. Lastly, this commit fixes the previous inconsistency between a regular formset and a model formset in the precedence of max_num and initial data. Previously in a regular formset, if the provided initial data was longer than max_num, it was truncated; in a model formset, all initial forms would be displayed regardless of max_num. Now regular formsets are the same as model formsets; all initial forms are displayed, even if more than max_num. (But if validate_max is True, submitting these forms will result in a "too many forms" validation error!) This combination of behaviors was chosen to keep the max_num validation simple and consistent, and avoid silent data loss due to truncation of initial data. Thanks to Preston for discussion of the design choices.
2013-03-19Fixed #16319 -- added SuccessMessageMixin to contrib.messagesPaul Collins
Thanks martinogden for the initial patch and d1ffuz0r for tests.
2013-03-18small documentation update to outline caveat with SESSION_COOKIE_DOMAINRyan West
2013-03-18Added warn note to docs about MySQL issues with 0000-00-00 date stringsJuan Catalano
MySQL accepts 0000-00-00 as a valid date but MySQLdb converts those values into None. So there will be problems for instance if trying to transport the data using dumpdata/loaddata. This patch refs #6642 that has been closed as wontfix since this is a particular problem of MySQL.
2013-03-18Update versions and links to source tarballs.Justin Bronn
2013-03-18Fixed #19968 -- Dropped support for PostgreSQL < 8.4.Aymeric Augustin
2013-03-18Fixed #17037 -- Added a --all option to diffsettings.Aymeric Augustin
2013-03-15Fixed #20053 -- Fix `index_together` documentationJohan Charpentier
2013-03-14Fixed #17051 -- Removed some 'invalid' field error messagesClaude Paroz
When the 'invalid' error message is set at field level, it masks the error message raised by the validator, if any.
2013-03-14Fixed #16649 -- Refactored save_base logicAnssi Kääriäinen
Model.save() will use UPDATE - if not updated - INSERT instead of SELECT - if found UPDATE else INSERT. This should save a query when updating, but will cost a little when inserting model with PK set. Also fixed #17341 -- made sure .save() commits transactions only after the whole model has been saved. This wasn't the case in model inheritance situations. The save_base implementation was refactored into multiple methods. A typical chain for inherited save is: save_base() _save_parents(self) for each parent: _save_parents(parent) _save_table(parent) _save_table(self)
2013-03-11Fixed broken link in binary fields doc.Ramiro Morales
2013-03-11Deprecated django.contrib.comments.Jacob Kaplan-Moss
2013-03-11Deprecated TransactionMiddleware and TRANSACTIONS_MANAGED.Aymeric Augustin
Replaced them with per-database options, for proper multi-db support. Also toned down the recommendation to tie transactions to HTTP requests. Thanks Jeremy for sharing his experience.
2013-03-11Added support for savepoints in SQLite.Aymeric Augustin
Technically speaking they aren't usable yet.
2013-03-11Enabled database-level autocommit for all backends.Aymeric Augustin
This is mostly a documentation change. It has the same backwards-incompatibility consequences as those described for PostgreSQL in a previous commit.
2013-03-10Fixed #20018: Added backtick to fix referenceJonathan Loy
Fixed #20018
2013-03-09Fixed #19923 -- Display tracebacks for non-CommandError exceptionsClaude Paroz
By default, show tracebacks for management command errors when the exception is not a CommandError. Thanks Jacob Radford for the report.
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-07Adde two "versionadded" markers, thanks to mYk for noticing.Alex Gaynor
2013-03-07Added a ManyToManyField(db_constraint=False) option, this allows not ↵Alex Gaynor
creating constraints on the intermediary models.
2013-03-02Fixed #19917 -- Added microseconds in default TIME_INPUT_FORMATSClaude Paroz
Thanks minddust for the report.
2013-03-02Fixed #18130 -- Made the isolation level configurable on PostgreSQL.Aymeric Augustin
Thanks limscoder for the report and niwi for the draft patch.
2013-03-02Add a BinaryField model fieldClaude Paroz
Thanks Michael Jung, Charl Botha and Florian Apolloner for review and help on the patch.
2013-03-01Fixed #19960 -- Fixed sentence in contrib.auth signals docsClaude Paroz
Thanks edd at slipszenko.net for the report.
2013-02-28Fixed #19929 -- Improved error when MySQL doesn't have TZ definitions.Aymeric Augustin
Thanks tomas_00 for the report.
2013-02-28Implemented persistent database connections.Aymeric Augustin
Thanks Anssi Kääriäinen and Karen Tracey for their inputs.
2013-02-27Refactored database exceptions wrapping.Aymeric Augustin
Squashed commit of the following: commit 2181d833ed1a2e422494738dcef311164c4e097e Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Wed Feb 27 14:28:39 2013 +0100 Fixed #15901 -- Wrapped all PEP-249 exceptions. commit 5476a5d93c19aa2f928c497d39ce6e33f52694e2 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 17:26:52 2013 +0100 Added PEP 3134 exception chaining. Thanks Jacob Kaplan-Moss for the suggestion. commit 9365fad0a650328002fb424457d675a273c95802 Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 17:13:49 2013 +0100 Improved API for wrapping database errors. Thanks Alex Gaynor for the proposal. commit 1b463b765f2826f73a8d9266795cd5da4f8d5e9e Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 15:00:39 2013 +0100 Removed redundant exception wrapping. This is now taken care of by the cursor wrapper. commit 524bc7345a724bf526bdd2dd1bcf5ede67d6bb5c Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 14:55:10 2013 +0100 Wrapped database exceptions in the base backend. This covers the most common PEP-249 APIs: - Connection APIs: close(), commit(), rollback(), cursor() - Cursor APIs: callproc(), close(), execute(), executemany(), fetchone(), fetchmany(), fetchall(), nextset(). Fixed #19920. commit a66746bb5f0839f35543222787fce3b6a0d0a3ea Author: Aymeric Augustin <aymeric.augustin@m4x.org> Date: Tue Feb 26 14:53:34 2013 +0100 Added a wrap_database_exception context manager and decorator. It re-throws backend-specific exceptions using Django's common wrappers.
2013-02-27Fixed #19861 -- Transaction ._dirty flag improvementAnssi Kääriäinen
There were a couple of errors in ._dirty flag handling: * It started as None, but was never reset to None. * The _dirty flag was sometimes used to indicate if the connection was inside transaction management, but this was not done consistently. This also meant the flag had three separate values. * The None value had a special meaning, causing for example inability to commit() on new connection unless enter/leave tx management was done. * The _dirty was tracking "connection in transaction" state, but only in managed transactions. * Some tests never reset the transaction state of the used connection. * And some additional less important changes. This commit has some potential for regressions, but as the above list shows, the current situation isn't perfect either.
2013-02-25Fixed #19801 - Added brackets to input_formats.Tim Graham
Thanks leandron85@ for the suggestion.
2013-02-25Minor edits to some recently-added admin docs.Carl Meyer
2013-02-24Added missing versionadded for sqldropindexes command docsClaude Paroz
2013-02-24Add column-<field_name> classes to the admin listDiederik van der Boor
This simplifies CSS styling to set column widths.
2013-02-24Test case and docs for custom context data in feedsZbigniew Siciarz
Thanks Paul Winkler for the initial patch. (Ref #18112).
2013-02-24Fixed minor rst formatting glitch.Aymeric Augustin
2013-02-24Merge pull request #817 from rybaktomasz/ticket_5568Honza Král
Fixes #5568 -- DROP INDEX subcommand
2013-02-24Made changes asked in review by HonzaKralTomasz Rybak
Add documentation for new command in django-admin.
2013-02-23Fixed #19880 - Fixed an error in the form wizard initial_dict example.Tim Graham
Thanks almalki for the report.