summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
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
2014-05-13Fixed #22533 -- Added label_suffix parameter to form fields.Julen Ruiz Aizpuru
Fields can now receive the `label_suffix` attribute, which will override a form's `label_suffix`. This enhances the possibility to customize form's `label_suffix`, allowing to use such customizations while using shortcuts such as `{{ form.as_p }}`. Note that the field's own customization can be overridden at runtime by using the `label_prefix` parameter to `BoundField.label_tag()`. Refs #18134.
2014-05-13Removed some references to django.contrib.comments which has been removed.Tim Graham
2014-05-13Fixed #22618 -- Improved import_string example.Tim Graham
Thanks ewjoachim for the sugggestion.
2014-05-12Fixed #22613 -- Added formfield_for_choice_field() to the list of methods ↵Tim Graham
that InlineModelAdmin supports.
2014-05-07Merge pull request #2639 from alimony/patch-1Alex Gaynor
Insert space
2014-05-07Fixed #22496: Data migrations get transactions again!Andrew Godwin
2014-05-07Insert space.Markus Amalthea Magnuson
2014-05-06Updated the messages context processor docsClaude Paroz
Refs #20610.
2014-05-05Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.Tim Graham
2014-05-02Fixed clash caused by the newly introduced -e shorthand for makemessages ↵Loic Bistuer
--exclude. This fixes a regression caused by 0707b82. Refs #22328.
2014-04-30Fixed #19195 -- Allow explicit ordering by a relation `_id` field.Simon Charette
Thanks to chrisedgemon for the report and shaib, akaariai and timgraham for the review.
2014-04-30Fixed #22537 -- Add tests and improved docs for field subclass with choices.Mike Fogel
2014-04-27Improved formatting and links of migration docs.Tim Graham
2014-04-26Documented django.setup().Aymeric Augustin
Thanks Eric Holscher and Tim Graham for the review.
2014-04-26Fixed #3214 -- Stopped parsing SQL with regex.Aymeric Augustin
Avoided introducing a new regex-based SQL splitter in the migrations framework, before we're bound by backwards compatibility. Adapted this change to the legacy "initial SQL data" feature, even though it's already deprecated, in order to facilitate the transition to migrations. sqlparse becomes mandatory for RunSQL on some databases (all but PostgreSQL). There's no API to provide a single statement and tell Django not to attempt splitting. Since we have a more robust splitting implementation, that seems like a good tradeoff. It's easier to add a new keyword argument later if necessary than to remove one. Many people contributed to both tickets, thank you all, and especially Claude for the review. Refs #22401.
2014-04-26Updated doc links to point to Python 3 documentationClaude Paroz
2014-04-26Fixed #22328 -- Added --exclude option to compilemessages and makemessages.Ana Krivokapic
2014-04-25Fixed a confusing heading in applications docs.Aymeric Augustin
Refs #22422.
2014-04-25Fixed #22422 -- Moved information about the application loading process to ↵Víðir Valberg Guðmundsson
refs/applications.txt.