summaryrefslogtreecommitdiff
path: root/docs/ref/contrib
AgeCommit message (Collapse)Author
2014-02-09Minor edits to new findstatic functionality; refs #19879.Tim Graham
Hopefully fixes a test failure on Jenkins.
2014-02-09Fixed #19879 -- Have 'findstatic' says on which directories it searched the ↵Vajrasky Kok
relative paths. Added searched_locations in finders module. Added verbosity flag level 2 on 'findstatic' command that will output the directories on which it searched the relative paths. Reported by ccurvey. Initial patch by Jonas Svensson and Vajrasky Kok.
2014-02-06Fixed #17005 -- Added CurrentSiteMiddleware to set the current site on each ↵Christopher Medrela
request. Thanks jordan at aace.org for the suggestion.
2014-02-02Fixed typo.Aymeric Augustin
2014-01-29Fix typo CRSF -> CSRFIan Foote
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
2014-01-26Moved RequestSite and get_current_site.Aymeric Augustin
Following the app-loading refactor, these objects must live outside of django.contrib.sites.models because they must be available without importing the django.contrib.sites.models module when django.contrib.sites isn't installed. Refs #21680. Thanks Carl and Loic for reporting this issue.
2014-01-25Fixed #21829 -- Added default AppConfigs.Aymeric Augustin
Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion.
2014-01-22Always use parentheses when documenting a method with no arguments.Baptiste Mispelon
2014-01-22Don't show `self` in the list of arguments of a method.Baptiste Mispelon
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855.
2014-01-22Fixed some markup that caused broken links in the static files docs.Tim Graham
2014-01-20Added ManifestStaticFilesStorage to staticfiles contrib app.Jannis Leidel
It uses a static manifest file that is created when running collectstatic in the JSON format.
2014-01-19Fixed some admin sphinx definitions so links work properly.Tim Graham
2014-01-18Fixed #21712 -- Moved autodiscover() to AdminConfig.ready().Aymeric Augustin
Thanks Marc Tamlyn for the initial version of the patch.
2014-01-17Removed some unnecessary __exact operators in filters.Tim Graham
2014-01-11Fixed #21547 -- Updated GeoDjango tutorial with PostGIS 2 outputClaude Paroz
Thanks awilliams at cironline.org for the report.
2014-01-02Fixed minor typos.Nathan Smith
2013-12-30Fixed #21710 -- Documented User.get_short_name()Tim Graham
Thanks Keryn Knight for the report.
2013-12-28Fixed #21618 -- Added hints about openlayers.js hostingClaude Paroz
Thanks kz26 for the report and Tim Graham for the excellent review.
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-25Added versionadded annotations for redirect middleware attributes.Tim Graham
refs #19321
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 #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-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-11-30Removed gender-based pronouns per [c0a2daad78].Tim Graham
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-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-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-21Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.Loic Bistuer
2013-11-11Fixed #21421 -- Added level_tag attribute on messages.Sjoerd Langkemper
Exposing the level name (e.g. "info") makes it possible to prepend something to the class name. For example, Twitter Bootstrap has an alert-info class. This class can now be added to the message using `class="alert-{{ message.level_tag }}". Because the level_tag was on the end of the `tags` property, it could not be used in this fashion when extra_tags were given.
2013-11-09Fixed versionadded misuse in the admin documentation.Baptiste Mispelon
2013-11-06Fixed typos in documentation.Baptiste Mispelon
2013-11-02Django should be capitalized in textBouke Haarsma
2013-11-02Fixed #21354 -- Documented contrib.redirects defaults to 301 redirectsBouke Haarsma
Thanks glarrain for the suggestion.
2013-10-30Fixed #20610: Added a message level dict to contrib.message context processor.Baptiste Mispelon
2013-10-29Fixed #8261 -- ModelAdmin hook for customising the "show on site" buttonUnai Zalakain
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is used to get the url. If it's a callable, the callable is called with the object as the only parameter. If ``False``, not link is displayed. With the aim of maitaining backwards compatibility, ``True`` is the default.
2013-10-24Fixed #21219 -- Added a way to set different permission for static files.Vajrasky Kok
Previously, when collecting static files, the files would receive permission from FILE_UPLOAD_PERMISSIONS. Now, there's an option to give different permission from uploaded files permission by subclassing any of the static files storage classes and setting the file_permissions_mode parameter. Thanks dblack at atlassian.com for the suggestion.
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-10-04Fixed #21213 -- Added docs for Django's mailing lists.Unai Zalakain
Added docs/internals/mailing-lists.txt documenting the use of django's mailing lists. All references across docs changed to point to this page. The referencing makes use of substitution because there's no way to make a :ref: link in a non-inline fashion in Sphinx. It also makes use of rst_epilog Sphinx conf for making this substitutions across all the docs.
2013-10-04Fixed #19321 -- Allowed redirect middleware HTTP responses to be overridden.Ryan Kaskel
Thanks Melevir for the suggestion.
2013-10-02Changed the doc to use gender-neutral pronouns when possible.Baptiste Mispelon
2013-10-01Fixed #15185 -- Allowed ModelAdmin.list_display_links=None to disable change ↵Ramiro Morales
list links. Thanks rm_ for the suggestion.
2013-09-20Fixed #20702 -- Deprecated get_formsets in favor of get_formsets_with_inlines.tschilling
Thanks stanislas.guerra at gmail.com for the report.
2013-09-18Fixed #19414 -- Added admin registration decoratorBrian Holdefehr
Thanks stavros for the suggestion.
2013-09-18Fixed #21116 -- Made usage of manage.py in docs more consistent.Tim Graham
Thanks daniel.quattro at gmail.com for the report.
2013-09-12Fixed a couple of typos in GeoDjango docs.Ramiro Morales