Tim Graham
c8c1883962
[1.7.x] Added formatting and line wrapping to checks reference doc.
...
Backport of 5472bf4df0
from master
2014-06-06 15:25:58 -04:00
Guillaume Pannatier
52b7e772e4
[1.7.x] Fixed #22710 -- Amended aggregation note for empty QuerySets
...
Thanks smeaton for report and Joël Rochat for spell check
Backport of 7f27cca5c5
from master
2014-06-04 12:45:24 -04:00
INADA Naoki
c8382f4c65
[1.7.x] Updated current state of MySQL Connector/Python.
...
Backport of 7be646425f
from master
2014-06-03 08:10:44 -04:00
Bryce Nesbitt
cb3266c1b0
[1.7.x] Fixed #22753 -- Documented ability to use a note with the {% comment %} tag.
...
Backport of e020894470
from master
2014-06-02 18:52:55 -04:00
Tim Graham
170255caf4
[1.7.x] Fixed #22748 -- Corrected post_migrate usage example.
...
Thanks Rudolph for the report.
Backport of a00efa30d6
from master
2014-06-02 11:39:23 -04:00
Craig de Stigter
724e600872
[1.7.x] Fixed #22690 -- Added a check for proxy models containing fields.
...
Removed the FieldError raised by ModelBase.__new__ in this case.
Backport of ce993efda8
from master
2014-06-02 09:34:31 -04:00
Jonathan Lindén
a83c56a45a
[1.7.x] Fixed #21938 -- Moved documentation for error views to reference guide.
...
Backport of 5b98ba08e2
from master
2014-06-01 13:07:19 -04:00
Simon Charette
c95a3fadb7
[1.7.x] Fixed #22299 -- Cleanup wizard temp files when possible.
...
Thanks to @erikr for the review.
Backport of fa8b473528
from master.
2014-05-30 22:25:17 +02:00
Guillaume Pannatier
b266392b63
[1.7.x] Fixed #22710 -- Documented aggregation behavior for empty QuerySets.
...
Thanks matklad for the report.
Backport of 7c6e96ec1f
from master
2014-05-30 08:05:43 -04:00
Moayad Mardini
e4eae5df0e
[1.7.x] Fixed #22682 -- `makemigrations` will create `MIGRATION_MODULES` package
...
`makemigrations` will automatically create the package specified
in `MIGRATION_MODULES` if it doesn't already exist.
Thanks ovidiuc4 for the report.
2014-05-29 15:39:02 -07:00
Moayad Mardini
c0a56001e0
[1.7.x] Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.
...
`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.
Backport of 2e613ea5c5
from master
2014-05-26 20:03:41 -04:00
Moayad Mardini
4d4ea65418
[1.7.x] Fixed #22692 -- Added docs for `makemigrations` two command options.
...
Added documentation about `--dry-run` and `--merge`.
Backport of e98d303562
from master
2014-05-25 19:37:11 -04:00
Matthew Schinckel
22d33d52cb
[1.7.x] Fixed typo in docs/ref/models/custom-lookups.txt.
...
Backport of 2b432d4634
from master
2014-05-25 19:03:28 -04:00
Claude Paroz
dbdbda87fc
[1.7.x] Fixed #22688 -- Documented ready() may be called more than once
...
Backport of b8fc167b32
from master.
2014-05-24 15:59:28 +02:00
Marc Tamlyn
be733bf672
[1.7.x] Fixed #22510 -- Harden field removal to only None.
...
Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
Backport of 9fb0f5dddc
from master
2014-05-24 13:11:50 +01:00
Claude Paroz
1f6b3cf145
[1.7.x] Fixed #20816 -- Added hints about Django middleware ordering
...
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
Backport of 756c390fb5
from master.
2014-05-22 18:34:00 +02:00
Moayad Mardini
269291019e
[1.7.x] Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below
...
The paragraph was a copy of strictly_above.
Backport of 2f43229c2f
from master
2014-05-19 09:50:46 -04:00
Moayad Mardini
4dd37a3a6e
[1.7.x] Fixed #22368 -- clarified connecting to Oracle DB using service name
...
Used the official terminology listed in
http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309
Thanks michael.cherkasov for the report.
Backport of bfac6bef83
from master
2014-05-19 07:46:27 -04:00
Erik Romijn
bc2bfbadcc
[1.7.x] Fixed #22644 -- Clarified documentation for NamedUrlWizardView
...
Backport of 727d048f09
from master.
2014-05-17 15:11:00 +02:00
Claude Paroz
8c5fbcf50a
[1.7.x] Fixed case in form widgets docs
...
Backport of 9494f29d
from master
2014-05-16 17:44:20 -04:00
Moritz
bd45139d4e
[1.7.x] Fixed #22167 -- Improved documentation on context processors
...
Backport of e7ffba8f78
from master.
2014-05-16 18:27:55 +02:00
Claude Paroz
e8a7436941
[1.7.x] Harmonized some PEP 0263 coding preambles
...
Backport of e520a73ee
from master.
2014-05-15 20:01:31 +02:00
Anders Steinlein
2914f66983
[1.7.x] Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.
...
Thanks Stephen Burrows for work on the patch as well.
2014-05-15 07:02:06 -04:00
Éric Araujo
d1860a3529
[1.7.x] Fixed typo that disabled code example highlighting
...
Backport of 5ab95168cc
from master
2014-05-15 05:52:30 -04:00
Tim Graham
50f228ae7c
[1.7.x] Removed an unnecessary anchor in the docs.
...
Backport of a06808d370
from master
2014-05-13 20:55:00 -04:00
Tim Graham
0bb90de869
[1.7.x] Fixed #22618 -- Improved import_string example.
...
Thanks ewjoachim for the sugggestion.
Backport of c501662f3c
from master
2014-05-13 07:05:35 -04:00
Tim Graham
2455699a91
[1.7.x] Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.
...
Backport of 986bd41f8a
from master
2014-05-12 07:01:19 -04:00
Markus Amalthea Magnuson
ff938b3623
[1.7.x] Insert space.
...
Backport of 8eb51a8cf6
from master
2014-05-11 16:18:01 -04:00
Andrew Godwin
7f63ac5a9f
[1.7.x] Fixed #22496 : Data migrations get transactions again!
2014-05-07 14:29:04 -07:00
Claude Paroz
79e4a189f3
[1.7.x] Updated the messages context processor docs
...
Refs #20610 .
Backport of 7951f125e
frmo master.
2014-05-06 20:39:13 +02:00
Tim Graham
2a2d7db01f
[1.7.x] Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
...
Backport of fb7c347f7b
from master
2014-05-05 07:39:03 -04:00
Simon Charette
a6ecd5dbb3
[1.7.x] Fixed #19195 -- Allow explicit ordering by a relation `_id` field.
...
Thanks to chrisedgemon for the report and shaib, akaariai and
timgraham for the review.
Backport of 24ec9538b7
from master
2014-04-30 14:26:39 -04:00
Mike Fogel
bb5c7e4e8d
[1.7.x] Fixed #22537 -- Add tests and improved docs for field subclass with choices.
...
Backport of 7fd1b35ed7
from master
2014-04-30 07:57:35 -04:00
Tim Graham
b89bbb3c21
[1.7.x] Improved formatting and links of migration docs.
...
Backport of ab8d8e00c9
from master
2014-04-27 15:06:08 -04:00
Aymeric Augustin
a5cc99de24
[1.7.x] Documented django.setup().
...
Thanks Eric Holscher and Tim Graham for the review.
Backport of 58ed387
from master
2014-04-26 22:11:04 +02:00
Aymeric Augustin
3bb0f118ca
[1.7.x] Fixed #3214 -- Stopped parsing SQL with regex.
...
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401 .
Backport of 8b5b199
from master
2014-04-26 17:46:57 +02:00
Claude Paroz
e441cebce3
[1.7.x] Updated doc links to point to Python 3 documentation
...
Backport of 680a0f08b
from master.
2014-04-26 16:03:40 +02:00
Aymeric Augustin
788fce4c91
[1.7.x] Fixed a confusing heading in applications docs.
...
Refs #22422 .
Backport of 0315f01
from master
2014-04-25 17:40:33 +02:00
Víðir Valberg Guðmundsson
bde1bc6672
[1.7.x] Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
...
Backport of deb561bbe2
from master
2014-04-25 10:12:55 -04:00
Moayad Mardini
ae15356061
[1.7.x] Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection
...
Thanks Erik Romijn for the suggestion.
Backport of 3776926cfe
from master
2014-04-25 09:56:04 -04:00
Malcolm Box
658710be00
[1.7.x] Fixed #22516 -- Added versionchanged annotation for STATIC_ROOT default value.
2014-04-25 09:36:18 -04:00
Marti Raudsepp
ba1728dd9b
[1.7.x] Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
Backport of 11d453bcad
from master
2014-04-22 20:10:58 -04:00
Erik Romijn
34526c2f56
[1.7.x] Fixed queries that may return unexpected results on MySQL due to typecasting.
...
This is a security fix. Disclosure will follow shortly.
Backport of 75c0d4ea3a
from master
2014-04-21 18:29:39 -04:00
Matt Lauber
0bd913a19c
[1.7.x] Corrected the section identifier for MySQL unicode reference.
...
Backport of b2514c02e1
from master
2014-04-21 13:20:46 -04:00
Tim Graham
b06e45bbf6
[1.7.x] Moved RemoteUserBackend documentation to reference guide.
...
Backport of 26d118c3fe
from master
2014-04-18 16:11:04 -04:00
Moayad Mardini
b1e7dd445b
[1.7.x] Fixed #22458 -- Added a note about MySQL utf8_unicode_ci collation
...
Thanks tobami at gmail.com for the report.
Backport of 11ac50b18e
from master
2014-04-18 15:11:10 -04:00
Tim Graham
a9ad081899
[1.7.x] Fixed #22473 -- Emphasized that Model.clean() is not called from Model.save().
...
Backport of b43bbd6d39
from master
2014-04-18 15:03:27 -04:00
Claude Paroz
edaff9b0df
[1.7.x] Confirmed support for PostGIS 2.1 and GDAL 1.10
...
Refs #22456 .
Backport of 3cea917e3e
from master.
2014-04-17 21:26:49 +02:00
Ben Davis
8c1d8a6215
[1.7.x] Fixed #22220 -- Added more examples to reverse() documention.
...
Thanks EvilDMP for the suggestions.
Backport of 030dd4f72c
from master
2014-04-16 20:31:01 -04:00
Tim Graham
c064971e6b
[1.7.x] Fixed spelling errors in documentation.
...
Backport of b5ce21accb
from master
2014-04-16 09:39:25 -04:00