1
0
mirror of https://github.com/django/django.git synced 2024-11-20 08:24:58 +00:00
Commit Graph

2410 Commits

Author SHA1 Message Date
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
Tim Graham
e122facbd8 Fixed #23269 -- Deprecated django.utils.remove_tags() and removetags filter.
Also the unused, undocumented django.utils.html.strip_entities() function.
2014-08-15 08:20:02 -04:00
Gabriel Muñumel
deed00c0d8 Fixed #23162 -- Renamed forms.Field._has_changed() to has_changed(). 2014-08-15 08:14:45 -04:00
areski
2a4492aecb Fixed #23224 - Documented EmailValidator. 2014-08-14 13:28:12 -04:00
Zhaorong Ma
bef5b9b7cd Fixed a grammar error in docs/ref/forms/api.txt. 2014-08-14 12:13:52 -04:00
Tim Graham
a7443c24a3 Corrected content_type parameter name in sitemap docs.
mimetype was deprecated in 1.5 per 11ec0253ab.
2014-08-13 21:44:36 -04:00