summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2014-01-02Changed convention for modules storing AppConfigs.Aymeric Augustin
The app/apps dichotomy was more confusing than valuable.
2014-01-02Fixed minor typos.Nathan Smith
2014-01-01Updated release notes on app_label.Aymeric Augustin
Django determines automatically which application models belong to, provided the application can be imported without importing models.
2014-01-01Fixed #21018 -- Reversed precedence order for management commands.Aymeric Augustin
2014-01-01Documented unicity rules in INSTALLED_APPS.Aymeric Augustin
Refs #12288, #21679.
2013-12-31Fixed #21581 -- Fixed a number of issues with collectstatic.Loic Bistuer
When STATIC_ROOT wasn't set, collectstatic --clear would delete every files within the current directory and its descendants. This patch makes the following changes: Prevent collectstatic from running if STATIC_ROOT isn't set. Fixed an issue that prevented collectstatic from displaying the destination directory. Changed the warning header to notify when the command is run in dry-run mode.
2013-12-31Renamed AppConfig.setup to ready.Aymeric Augustin
Thanks Jannis and Marc for the feedback. Fixed #21717.
2013-12-31Made it possible to change an application's label in its configuration.Aymeric Augustin
Fixed #21683.
2013-12-30Removed the only_with_models_module argument of get_model[s].Aymeric Augustin
Now that the refactorings are complete, it isn't particularly useful any more, nor very well named. Let's keep the API as simple as possible. Fixed #21689.
2013-12-30Fixed #21710 -- Documented User.get_short_name()Tim Graham
Thanks Keryn Knight for the report.
2013-12-30Stopped populating the app registry as a side effect.Aymeric Augustin
Since it triggers imports, it shouldn't be done lightly. This commit adds a public API for doing it explicitly, django.setup(), and does it automatically when using manage.py and wsgi.py.
2013-12-30Updated advice on connecting signals at startup.Aymeric Augustin
2013-12-30Added AppConfig.setup() to run setup code.Aymeric Augustin
2013-12-29Added AppConfig.get_models().Aymeric Augustin
2013-12-29Refactored the migration signals to use app configs.Aymeric Augustin
De-aliased pre/post_syncdb to pre/post_migrate to increase backwards-compatibility.
2013-12-28Fixed #21242 -- Allowed more IANA schemes in URLValidatorClaude Paroz
Thanks Sascha Peilicke for the report and initial patch, and Tim Graham for the review.
2013-12-28Changed get_model to raise an exception on errors.Aymeric Augustin
Returning None on errors required unpythonic error checking and was inconsistent with get_app_config. get_model was a private API until the previous commit, but given that it was certainly used in third party software, the change is explained in the release notes. Applied the same change to get_registered_model, which is a new private API introduced during the recent refactoring.
2013-12-28Simplified Apps.get_model and added AppConfig.get_model.Aymeric Augustin
Documented them as public APIs.
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-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.