summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2013-12-28Used app_label instead of appname.Aymeric Augustin
The last component of the dotted path to the application module is consistently referenced as the application "label". For instance it's AppConfig.label. appname could be confused with AppConfig.name, which is the full dotted path.
2013-12-26Fixed #21629 -- Added instructions for loading MySQL time zone definitions.Tim Graham
Thanks Aymeric for the suggestion.
2013-12-26Made the AppConfig API marginally more consistent.Aymeric Augustin
Eliminated the app_ prefix that was more confusing than useful.
2013-12-25Swapped app registry and app config API docs.Aymeric Augustin
Thanks David Larlet for the suggestion. Also fixed some Sphinx warnings and improved ReST markup.
2013-12-25Unified listing of shell commands/codeYaroslav Halchenko
- use code-block:: bash - prefix the command with $
2013-12-25Added versionadded annotations for redirect middleware attributes.Tim Graham
refs #19321
2013-12-25Fixed #21669 -- Typo in docs/ref/forms/fields.txt.Tim Graham
Thanks alex_koval for the report.
2013-12-24Copy-edited previous commit.Aymeric Augustin
Thanks Tim for the review.
2013-12-24Added release notes for app loading changes.Aymeric Augustin
2013-12-24Updated a few doc paragraphs following the app-loading refactor.Aymeric Augustin
2013-12-24Documented the Apps and AppConfig APIs.Aymeric Augustin
2013-12-24Added more spatial predicates for prepared geometriesClaude Paroz
GEOS 3.3 added crosses, disjoint, overlaps, touches and within predicates on prepared geometries.
2013-12-24Dropped support for GEOS < 3.1Claude Paroz
2013-12-18Fixed #21585 -- Updated some links to 3rd party database projects.Tim Graham
Thanks graeme.perrow at sap.com for the original report.
2013-12-18Fixed #21386 -- Removed admindocs dependence on sites frameworkBouke Haarsma
* Removed ADMIN_FOR setting and warn warning * Group view functions by namespace instead of site * Added a test verifying namespaces are listed Thanks to Claude Paroz for reviewing and ideas for improvement.
2013-12-18Fixed #21632 -- Docs: Removed example with callable as query parameterKevin Christopher Henry
Using callables as query parameters is undocumented and not working, so this changes an example from the ForeignKey.limit_choices_to documentation that uses it.
2013-12-18Fixed #21552 -- Allowed the use of None for the iexact lookup.Denis Moskalets
Thanks Anubhav Joshi for the documentation.
2013-12-16Fixed #17413 -- Serialization of form errors along with all metadata.Loic Bistuer
2013-12-15Added some internal links to render_to_string documentation.Baptiste Mispelon
2013-12-15Fix docs typoAndrew Godwin
2013-12-13Changed documentation of HttpResponse.content to indicate it's a bytestringBaptiste Mispelon
2013-12-12Fixed #21591 -- Added documentation about contrib.messages.get_messages.Rémy HUBSCHER
Refs https://code.djangoproject.com/ticket/21591 Thanks to track user merb for the report.
2013-12-08Updated a bunch of hyperlinks in documentationClaude Paroz
2013-12-08(Re-)added GeoDjango instructions for building pysqlite2 correctly.Ramiro Morales
This is a partial undo of 1b142ef5dd.
2013-12-02Fixed #13476 -- Added support for color in console output under Windows.Ramiro Morales
Detect and use the services of the ANSICON third-party tool if it's available.
2013-11-30Removed gender-based pronouns per [c0a2daad78].Tim Graham
2013-11-30Enabled makemessages to support several translation directoriesClaude Paroz
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and Tim Graham for the reviews. Also fixes #16084.
2013-11-30Removed Form._errors from the docs in favor of the add_error API.Loic Bistuer
2013-11-30Fixed #20867 -- Added the Form.add_error() method.Loic Bistuer
Refs #20199 #16986. Thanks @akaariai, @bmispelon, @mjtamlyn, @timgraham for the reviews.
2013-11-29Fixed #21380 -- Added a way to set different permission for static directories.Vajrasky Kok
Previously when collecting static files, the directories would receive permissions from the global umask. Now the default permission comes from FILE_UPLOAD_DIRECTORY_PERMISSIONS and there's an option to specify the permissions by subclassing any of the static files storage classes and setting the directory_permissions_mode parameter.
2013-11-28Fixed #21515 -- Corrected example of template.Context in documentation.Baptiste Mispelon
Thanks to trac user oubiga for the report.
2013-11-27Added a warning regarding risks in serving user uploaded media.Tim Graham
Thanks Preston Holmes for the draft text.
2013-11-27Added a bulk option to RelatedManager remove() and clear() methodsLoic Bistuer
Refs #21169
2013-11-27Fixed #21169 -- Reworked RelatedManager methods use default filteringLoic Bistuer
The `remove()` and `clear()` methods of the related managers created by `ForeignKey`, `GenericForeignKey`, and `ManyToManyField` suffered from a number of issues. Some operations ran multiple data modifying queries without wrapping them in a transaction, and some operations didn't respect default filtering when it was present (i.e. when the default manager on the related model implemented a custom `get_queryset()`). Fixing the issues introduced some backward incompatible changes: - The implementation of `remove()` for `ForeignKey` related managers changed from a series of `Model.save()` calls to a single `QuerySet.update()` call. The change means that `pre_save` and `post_save` signals aren't called anymore. - The `remove()` and `clear()` methods for `GenericForeignKey` related managers now perform bulk delete so `Model.delete()` isn't called anymore. - The `remove()` and `clear()` methods for `ManyToManyField` related managers perform nested queries when filtering is involved, which may or may not be an issue depending on the database and the data itself. Refs. #3871, #21174. Thanks Anssi Kääriäinen and Tim Graham for the reviews.
2013-11-26Fixed a typo in the documentationAlex Gaynor
2013-11-25Fixed #20522 - Allowed use of partially validated object in ↵Jay Leadbetter
ModelAdmin.add_view formset validation. Updated ModelAdmin to use form.instance when passing parent model to child inlines for add_view. There is effectively no change in the change_view since the previously passed 'obj' is the same as form.instance. Thanks to meshy for report, and EvilDMP and timo for review.
2013-11-25Fixed #21507 -- Corrected default widget information for FileFieldLudwik Trammer
2013-11-24Fixed #21391 -- Allow model signals to lazily reference their senders.Simon Charette
2013-11-24Fixed typo in previous commit; refs #21490.Tim Graham
2013-11-24Fixed #21490 -- Fixed custom admin URL reverse example.Tim Graham
Thanks glarrain for the report.
2013-11-24Removed confusing comments from the docs.Loic Bistuer
The settings reference documentation doesn't seem the right place to invite users to write their own db and cache backends. Also the actual wording makes the task sound trivial, which is hardly the case; writing a custom db backend is a very difficult task, and writing a custom cache backend is full of gotcha.
2013-11-23Add missing commas in Prefetch docsThomas Orozco
2013-11-23Fixed #21488 -- Multiple locales treatment in i18n commands.Ramiro Morales
Removed multiple locales separated by commas variation (that wasn't working as documented) in favor of simply allowing use of the ``--locale``/``-l`` options more than once for ``makemessages`` and ``compilemessages``. Thanks Romain Beylerian for the report and Claude, Simon for their help. 8750296918072c97a51f6809d19828ce3f1b8d40 from stable/1.6.x.
2013-11-23Fixed #21491 -- Removed documented workaround for a known issue.Loic Bistuer
The issue was that two M2M hidden reverse managers (related_name ending with a '+') could clash with each other. Refs #21375 and #15932. Thanks Baptiste.
2013-11-21Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.Loic Bistuer
2013-11-21Fixed #21427 -- Clearly state integer field value ranges in docsMarkus Amalthea Magnuson
Added an explicit mention of the exact value ranges for integer type fields that are safe in all databases supported by Django. Also, put all value numbers inside double ticks.
2013-11-19fixed typo in builtins.txtJulia Antokhine
2013-11-19Fixed the base class note in the Date Views docs.Rocky Meza
2013-11-18Added more internal links in the management command documentation.Baptiste Mispelon
2013-11-18Fixed #21397 -- Re-added flexibility to TypedChoiceField coercionClaude Paroz
Thanks Elec for the report and Simon Charette for the review.