summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2014-06-14Complemented dwithin docs about using geographic geometriesClaude Paroz
Refs #22830. Thanks django@gfairchild.com for the suggestion.
2014-06-13Fixed #22477 -- Removed contrib middleware from the global settings defaults.mlavin
Also added a compatibility check for changed middleware defaults. Forwardport of d94de802d3 from stable/1.7.x
2014-06-13Fixed #7599 -- Added get_user_permissions to ModelBackend.Jorge C. Leitão
Thanks to @gdub for the report and intial patch and @charettes and @timgraham for the review.
2014-06-13Fixed #6327 -- Added has_module_permission method to BaseModelAdminMaxime Turcotte
Thanks chrj for the suggestion.
2014-06-12Fixed #22811 -- Allowed setting both the old and new TEST database settings.Tim Graham
An ImproperlyConfigured exception will be raised they mismatch.
2014-06-12Fixed #22813 -- Updated Pillow URL in documentationClaude Paroz
2014-06-11Fixed typo in docs/ref/forms/validation.txt.Maxime Lorant
2014-06-11Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets ↵Anubhav Joshi
from a different Django version. Thanks FunkyBob for the suggestion, prasoon2211 for the initial patch, and akaariai, loic, and charettes for helping in shaping the patch.
2014-06-10Fixed #22801 -- Added 'www.' to diveintopython.net linksMaxime Turcotte
2014-06-10Fixed #22770 -- Removed create_superuser from post_migrate signals.Tim Graham
Moved logic to syncdb command for backwards compatibility.
2014-06-10Close autoescape tag in template documentation.Andreas Damgaard Pedersen
2014-06-10Fixed #17552 -- Removed a hack for IE6 and earlier.Aymeric Augustin
It prevented the GZipMiddleware from compressing some data types even on more recent version of IE where the corresponding bug was fixed. Thanks Aaron Cannon for the report and Tim Graham for the review.
2014-06-09Dropped support for SpatiaLite < 2.4.Tim Graham
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.