Commit Graph

2415 Commits

Author SHA1 Message Date
Tim Graham 60c38c1a4e Fixed #23281 -- Added "concrete model" to glossary.
Thanks knowledgepoint-devs for the suggestion.
2014-09-08 08:45:47 -04:00
Collin Anderson 7353e26d5d Fixed #23340 -- Corrected naturaltime docs to match behavior.
Thanks zachborboa for the report and blackguest for the patch.
2014-09-06 07:47:56 -04:00
Andrew Godwin 6d504562f5 Fixed #22534: Reinforce swappable documentation 2014-09-05 11:39:55 -07:00
Sébastien Fievet 5d04433903 Added missing periods in docs/ref/checks.txt. 2014-09-05 12:30:24 -04:00
John-Scott Atlakson 344f37718b Fixed imports in `Sitemap for static views` example 2014-09-04 21:04:53 -04:00
Tim Graham 2ca244aae6 Fixed typo in docs/ref/checks.txt. 2014-09-04 12:31:33 -04:00
Thomas Chaumeny d7a9659110 Fixed documentation links to Query Expression API. 2014-09-04 09:45:10 -04:00
Marc Tamlyn e9103402c0 Fixed #18757, #14462, #21565 -- Reworked database-python type conversions
Complete rework of translating data values from database

Deprecation of SubfieldBase, removal of resolve_columns and
convert_values in favour of a more general converter based approach and
public API Field.from_db_value(). Now works seamlessly with aggregation,
.values() and raw queries.

Thanks to akaariai in particular for extensive advice and inspiration,
also to shaib, manfre and timograham for their reviews.
2014-09-03 20:36:03 +01:00
Raffaele Salmaso 1435cfbe8d Fixed #23302 -- Added --name/-n option to makemigrations command 2014-09-02 21:09:18 -04:00
Alexey Efimov 4a303341fc Added missing import in docs/ref/signals.txt. 2014-09-02 08:14:02 -04:00
Tim Graham e9264bc25d Revert "Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918"
This reverts commit a8521a2c22.
2014-09-02 08:12:19 -04:00
Andrew Godwin a8521a2c22 Undocumented SeparateDatabaseAndState so crash is not RB. Refs #22918 2014-09-01 11:48:06 -07:00
Simon Charette ab9c886459 Fixed #23391 -- Removed an erroneous backtip from the form's documentation.
Thanks to Trac alias nessita for the report.
2014-08-31 20:06:38 -04:00
Thomas Chaumeny 032c091659 Fixed #23388 -- Made django.utils.timezone.override usable as a decorator 2014-08-31 09:03:53 +02:00
Bas Peschier eacf244506 Converted sql_queries into a lazily evaluated list.
Fixed #23364. Thanks Markush2010 for the report.
2014-08-30 13:27:56 +02:00
Simon Charette 05a8cef428 Corrected a usage example of `related_query_name`.
Thanks to Petr Glotov for spotting this.
2014-08-29 23:10:30 -04:00
Simon Charette 4926c0afe3 Documented translation.override as a decorator.
refs #23323.
2014-08-29 19:49:39 -04:00
Joshua "jag" Ginsberg eb2af16c59 Fixed #21483 -- Added WSGI environ to kwargs sent to request_started signal. 2014-08-29 10:12:03 -04:00
Claude Paroz 909015a51b Fixed #22786 -- Documented value_from_datadict caveat
Thanks blueyed for the report and Tim Graham for the review.
2014-08-29 10:24:50 +02:00
Aymeric Augustin 569e0a299d Documented correct kwargs for post_syncdb/migrate.
d562527a rename the db to using in the wrong signal.

Thanks Maik Hoepfel for the report.
2014-08-28 21:30:20 +02:00
Claude Paroz 3a44e20005 Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase
Refs #20739. Thanks Raphaël Hertzog for the report and the initial
patch.
2014-08-28 08:44:26 +02:00
Richard Eames 4dd5c8581d Fixed #23349 -- Clarified details about RunPython's apps argument. 2014-08-27 17:26:08 -04:00
areski a81af7f49d Fixed #13749 -- Added link from admin site to front-end site.
Thanks romankrv for the suggestion.
2014-08-27 08:34:53 -04:00
Tim Graham 6aae07fe61 Documented --database option for migrate.
Thanks Mike O'Connor for the reporty.
2014-08-27 08:01:30 -04:00
Tim Graham 83762da3fb Fixed #23354 -- Documented that ModelChoiceField to_field_name should be a unique field.
Thanks Keryn Knight for the suggestion.
2014-08-27 07:43:13 -04:00
Tim Graham 7b9537fb27 Fixed #21567 -- Documented how to deploy multiple sites using the sites framework. 2014-08-26 15:22:08 -04:00
Tim Graham ced3e303ca Fixed #23250 -- Documented that ModelMultipleChoiceField queryset may be None. 2014-08-26 14:50:17 -04:00
Tim Graham a2bcec3491 Fixed #17707, #20734 -- Added examples to URL namespacing docs.
Thanks Daniele Procida for review.
2014-08-26 14:31:13 -04:00
Tim Graham 348c89cbfb Fixed #19312 -- Documented MySQL TIMESTAMP columns cannot be used with USE_TZ=True. 2014-08-26 14:11:35 -04:00
Tim Graham e02f45d5ea Fixed #17719 -- Documented that template syntax sequences cannot be used as string literals. 2014-08-26 10:40:12 -04:00
Tim Graham a3e88e64a4 Fixed spelling mistake in file docs. 2014-08-26 09:44:24 -04:00
Tim Graham 7d62fb5957 Fixed #23355 -- Updated admin jQuery to 1.11.1. 2014-08-24 15:26:29 -04:00
Tim Graham 0c9f40f776 Fixed #22154 -- Added "Built-in" to some class-based views titles. 2014-08-23 19:30:42 -04:00
Claude Paroz 1f45f3cea1 Updated docs about Spatialite collect/extent support 2014-08-23 18:03:11 +02:00
Claude Paroz a7d964ab87 Replaced no_spatialite by connection features
Refs #22632. Thanks Tim Graham for the review.
2014-08-23 15:41:13 +02:00
Tim Graham c7fa27d702 Fixed #23344 -- Removed duplicate docs for file upload settings. 2014-08-23 09:30:01 -04:00
Tim Graham a76aab3583 Fixed #23324 -- Mentioned Site.id in contrib.sites docs. 2014-08-22 12:56:38 -04:00
Tim Graham 14aff0bd82 Fixed #23343 -- Typo in docs/ref/class-based-views/generic-date-based.txt. 2014-08-22 11:22:09 -04:00
Simon Charette 53ff096982 Prevented data leakage in contrib.admin via query string manipulation.
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Tim Graham 0d8d30b7dd Fixed #23157 -- Removed O(n) algorithm when uploading duplicate file names.
This is a security fix. Disclosure following shortly.
2014-08-20 14:39:40 -04:00
Unai Zalakain 5f2542f12a Fixed #10190 -- Made HttpResponse charset customizable.
Thanks to Simon Charette, Aymeric Augustin, and Tim Graham
for reviews and contributions.
2014-08-19 17:34:38 -04:00
areski 9d6551204e Removed unnecessary code-block directives. 2014-08-19 16:44:25 -04:00
Tim Graham 03c1609c47 Fixed #21801 -- Documented SingleObjectMixin.get_context_data() requires the object attribute. 2014-08-19 12:07:44 -04:00
Tim Graham c587bd5a94 Fixed #17272 -- Documented that non-editable fields are skipped during model validation.
Thanks mitar for the report.
2014-08-19 07:18:05 -04:00
Tim Graham 5dbe2a9431 Fixed #4991 -- Emphasized XSS ramifications of help_text not being escaped. 2014-08-19 06:16:05 -04:00
Tim Graham 15cafaa565 Fixed #5726 -- Documented that inspectdb doesn't detect defaults. 2014-08-19 06:14:14 -04:00
Tim Graham 9432f1e750 Fixed some doc errors that caused syntax highlighting to fail. 2014-08-18 20:37:47 -04:00
Baptiste Mispelon 5853c87a45 Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate. 2014-08-18 18:55:12 +02:00
areski 7ca665c5f5 Fixed #23296 -- Fixed RunPython code sample in Migration Operations. 2014-08-15 13:56:14 -04:00
Peter Harley 2724cdbff6 Fixed #18355 -- Added ordering options to list based generic views.
Added MultipleObjectMixin.ordering and get_ordering().

Refs #21450.
2014-08-15 11:09:47 -04:00