summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2014-06-09Doc edits for refs #22487.Tim Graham
2014-06-09Removed extras/csrf_migration_helper.pyTim Graham
2014-06-08Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
2014-06-06Added formatting and line wrapping to checks reference doc.Tim Graham
2014-06-05Fixed #18400 -- Modified length template filter to return 0 for unknown ↵Susan Tan
variables. Thanks Florian for the bug report, luyikei for the initial code patch, and Bouke for the code review feedback.
2014-06-04Fixed #22710 -- Amended aggregation note for empty QuerySetsGuillaume Pannatier
Thanks smeaton for report and Joël Rochat for spell check
2014-06-04Fixed #22684 -- Amended SelectDateWidget.empty_label to accept a tuple of ↵gyx1000
values. Thanks danielsamuels for the report
2014-06-03Updated current state of MySQL Connector/Python.INADA Naoki
2014-06-03Merge pull request #2756 from tubaman/return_unicodeTim Graham
Unicode method on model should return unicode
2014-06-03Fixed #22384 -- Deprecated reversing URLs by dotted path.Tim Graham
2014-06-02Unicode method on model should return unicodeRyan Nowakowski
The example of a __unicode__ model method should return a unicode value instead of a string.
2014-06-02Fixed #22753 -- Documented ability to use a note with the {% comment %} tag.Bryce Nesbitt
2014-06-02Fixed #22748 -- Corrected post_migrate usage example.Tim Graham
Thanks Rudolph for the report.
2014-06-02Fixed #22690 -- Added a check for proxy models containing fields.Craig de Stigter
Removed the FieldError raised by ModelBase.__new__ in this case.
2014-06-01Fixed #21938 -- Moved documentation for error views to reference guide.Jonathan Lindén
2014-06-01Merge pull request #2726 from gchp/ticket-20550Aymeric Augustin
Fixed #20550 -- Added ability to preserve test db between runs
2014-05-30Fixed #22710 -- Documented aggregation behavior for empty QuerySets.Guillaume Pannatier
Thanks matklad for the report.
2014-05-30Fixed #22682 -- `makemigrations` will create `MIGRATION_MODULES` packageMoayad Mardini
`makemigrations` will automatically create the package specified in `MIGRATION_MODULES` if it doesn't already exist. Thanks ovidiuc4 for the report.
2014-05-28Fixed #22684 -- Added `empty_label` option on ↵Guillaume Pannatier
`django.forms.extras.widets.SelectDateWidget` Thanks danielsamuels for the report
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
2014-05-27Fixed spelling in docs.Tim Graham
2014-05-27Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.Moayad Mardini
`makemigrations --dry-run` will output the complete migrations file that would be written if it's used along with `--verbosity 3`.
2014-05-26Fix an error in a documented lookup example.Marc Tamlyn
2014-05-25Fixed #22692 -- Added docs for `makemigrations` two command options.Moayad Mardini
Added documentation about `--dry-run` and `--merge`.
2014-05-25Fixed typo in docs/ref/models/custom-lookups.txt.Matthew Schinckel
2014-05-24Fixed #22688 -- Documented ready() may be called more than onceClaude Paroz
2014-05-24Fixed #22510 -- Harden field removal to only None.Marc Tamlyn
Refs #8620. If we allow any value to remove form fields then we get name clashes with method names, media classes etc. There was a backwards incompatibility introduced meaning ModelForm subclasses with declared fields called media or clean would lose those fields. Field removal is now only permitted by using the sentinel value None. The docs have been slightly reworded to refer to removal of fields rather than shadowing. Thanks to gcbirzan for the report and initial patch, and several of the core team for opinions.
2014-05-22Fixed #20816 -- Added hints about Django middleware orderingClaude Paroz
Thanks gthb Trac user for the report, kolypto StackOverflow user for the initial list and Tim Graham for the review.
2014-05-22Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella
2014-05-22Added omitted documentation for ArrayField__len.Marc Tamlyn
2014-05-22Added array field support for PostgreSQL.Marc Tamlyn
The first part of django.contrib.postgres, including model and two form fields for arrays of other data types. This commit is formed of the following work: Add shell of postgres app and test handling. First draft of array fields. Use recursive deconstruction. Stop creating classes at lookup time. Add validation and size parameter. Add contained_by lookup. Add SimpleArrayField for forms. Add SplitArrayField (mainly for admin). Fix prepare_value for SimpleArrayField. Stop using MultiValueField and MultiWidget. They don't play nice with flexible sizes. Add basics of admin integration. Missing: - Tests - Fully working js Add reference document for django.contrib.postgres.fields.ArrayField. Various performance and style tweaks. Fix internal docs link, formalise code snippets. Remove the admin code for now. It needs a better way of handing JS widgets in the admin as a whole before it is easy to write. In particular there are serious issues involving DateTimePicker when used in an array. Add a test for nested array fields with different delimiters. This will be a documented pattern so having a test for it is useful. Add docs for SimpleArrayField. Add docs for SplitArrayField. Remove admin related code for now. definition -> description Fix typo. Py3 errors. Avoid using regexes where they're not needed. Allow passing tuples by the programmer. Add some more tests for multidimensional arrays. Also fix slicing as much as it can be fixed. Simplify SplitArrayWidget's data loading. If we aren't including the variable size one, we don't need to search like this.
2014-05-21Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATHMartin Brochhaus
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). A feature has been added to also allow a list of strings. This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module.
2014-05-20Merge pull request #2692 from fcurella/patch-5Alex Gaynor
#22667 replaced occurrences of master/slave terminology with leader/follower
2014-05-20replaced occurrences of master/slave terminology with leader/followerFlavio Curella
2014-05-19Fixed #22655 -- Fixed GeoQuerySet doc about strictly_belowMoayad Mardini
The paragraph was a copy of strictly_above.
2014-05-19Revert "Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of ↵Tim Graham
modules." This reverts commit 950b6de16ac2f8135612f2ed5984c090dd8e4dcf.
2014-05-19Fixed #20477: Allowed settings.FORMAT_MODULE_PATH to be a list of modules.Martin Brochhaus
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted module path). This is useful when using several reusable third party apps that define new formats. We can now use them all and we can even override some of the formats by providing a project-wide format module.
2014-05-19Fixed #22368 -- clarified connecting to Oracle DB using service nameMoayad Mardini
Used the official terminology listed in http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309 Thanks michael.cherkasov for the report.
2014-05-18Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.Esau Rodriguez
2014-05-17Fixed #22644 -- Clarified documentation for NamedUrlWizardViewErik Romijn
2014-05-17Fixed #22019 -- Added Model.objects reference documentation.Aliaksandr Semianiuk
2014-05-17Merge pull request #2346 from Markush2010/ticket21905Florian Apolloner
Fixed #21905 -- Add info message if DateField or TimeField use a fixed value
2014-05-16Fixed #21905 -- Add info message if DateField or TimeField use a fixed valueMarkus Holtermann
2014-05-16Fixed #22167 -- Improved documentation on context processorsMoritz
Clarified the explanation on the order in which user provided variables to render_to_response, RequestContext and context processors are loaded.
2014-05-16Refs #21798 - Modified error number to provide room for future expansion.Russell Keith-Magee
2014-05-16Fixed #21798 -- Added check for DateTime mutually exclusive optionsDaniel Pyrathon
Added DateTimeCheckMixin to avoid the use of default, auto_now, and auto_now_add options together. Added the fields.E151 Error that is raised if one or more of these options are used together.
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2014-05-15Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.Anders Steinlein
Thanks Stephen Burrows for work on the patch as well. Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
2014-05-14Fix typo that disabled code example highlightingÉric Araujo
2014-05-13Removed an unnecessary anchor in the docs.Tim Graham