Tim Graham
5d853db90e
[1.5.X] Fixed #19717 - Removed mentions of "root QuerySet" in docs.
...
Thanks julien.aubert.mail@ for the report and James Pic for the patch.
Backport of 64d0f89ab1 from master
2013-02-18 09:36:49 -05:00
Simon Meers
94ef17e2c2
[1.5.x] Corrected INSTALLED_APPS syntax in 1.5 release notes.
...
Backport of 9c2066d5 from master.
2013-02-18 00:55:22 +11:00
Tim Graham
ba794f68bf
[1.5.x] Fixed #19824 - Corrected the class described for Field.primary_key from IntegerField to AutoField.
...
Thanks Keryn Knight.
Backport of 218bbef0c4 from master
2013-02-16 18:34:18 -05:00
Tim Graham
ad2b091c1f
[1.5.x] Fixed #19812 - Removed a duplicate phrase in the widget docs.
...
Thanks diegueus9 for the report and itsallvoodoo for the draft patch.
Backport of 7a80904b00 from master
2013-02-16 18:25:03 -05:00
Alex Hunley
5c3c8bf09a
[1.5.x] Fixed #19719 - Removed misleading example from ModelForm documentation
...
Backport of 976dc07baf from master
2013-02-16 18:05:35 -05:00
Claude Paroz
41848b078a
[1.5.x] Fixed #19833 -- Fixed import parameter encoding in get_runner
...
Thanks Danilo Bargen for the report.
Backport of 63236161 from master.
2013-02-16 13:32:03 +01:00
Russell Keith-Magee
461d6e2295
[1.5.x] Refs #14881 -- Document that User models need to have an integer primary key.
...
Thanks to Kaloian Minkov for the reminder about this undocumented requirement.
(cherry picked from commit 91c26eadc9b4efa5399ec0f6c84b56a3f8eb84f4)
2013-02-16 10:21:45 +08:00
Claude Paroz
5a803ce10e
[1.5.x] Fixed geos test to prevent random failure
...
Points in the test fixtures have 20 as max coordinate.
Backport of 87854b0bdf3 from master.
2013-02-15 20:15:31 +01:00
Claude Paroz
1b54c85a53
[1.5.x] Avoided unneeded assertion on Python 3
...
Fixes failure introduced in 02e5909f7a.
2013-02-15 16:11:53 +01:00
Claude Paroz
5921f15c11
[1.5.x] Fixed #19807 -- Sanitized getpass input in createsuperuser
...
Python 2 getpass on Windows doesn't accept unicode, even when
containing only ascii chars.
Thanks Semmel for the report and tests.
Backport of 02e5909f7a from master.
2013-02-15 15:51:17 +01:00
Julien Phalip
42e87c17f2
[1.5.x] Fixed #19829 -- Fixed index lookups for NumPy arrays in templates.
...
Backport of 7d5e35cdb46124e2471
2013-02-15 00:18:49 -08:00
Russell Keith-Magee
bc6746ac30
[1.5.x] Fixed #19822 -- Added validation for uniqueness on USERNAME_FIELD on custom User models.
...
Thanks to Claude Peroz for the draft patch.
(cherry picked from commit f5e4a699ca0f58818acbdf9081164060cee910fa)
2013-02-15 09:02:14 +08:00
Ramiro Morales
1c086df50e
[1.5.x] Fix filtering during collection of paths in setup.py
...
Thanks Marek Brzóska for the report.
f179a5198e05e1be8ba8be87c1f0e1a8924cf005 from master.
2013-02-14 20:47:41 -03:00
Ramiro Morales
89ce55b301
[1.5.x] Mention backward relationships in aggregate docs.
...
Thanks Anssi and Marc Tamlyn for reviewing.
Fixes #19803 .
0560bfb705687c831e2769b1202706e2ceb1f7a7 from master.
2013-02-14 20:47:04 -03:00
Ramiro Morales
e7ab0d35c1
[1.5.x] Typo in i18n docs.
...
112c6e987dbe789c8eb1889852f6056131c8d4d6 from master.
2013-02-14 20:46:27 -03:00
Ramiro Morales
6f29147488
[1.5.x] Fixed #19729 -- Removed leftover refactoring helper variables.
...
Thanks chrismedrela for the report.
Refs #6262 , 44b9076 and 4d94c0c.
826d9de00e74a53d7cc65fcb2aaa5ccdf33674ab from master.
2013-02-14 20:45:36 -03:00
Claude Paroz
cfdc003ab7
[1.5.x] Fixed #19823 -- Fixed memcached code example in cache docs
...
Backport of 668d0b8d from master.
2013-02-14 11:25:07 +01:00
Carl Meyer
f83bec4847
[1.5.x] Fix admindocs on Python 3, where None cannot be sorted with strings.
...
This fixes two tests in admin_views which were failing on Python 3, but only if
the tests were run with docutils installed.
2013-02-12 17:12:44 -07:00
Anssi Kääriäinen
743263a105
[1.5.x] Removed try-except in django.db.close_connection()
...
The reason was that the except clause needed to remove a connection
from the django.db.connections dict, but other parts of Django do not
expect this to happen. In addition the except clause was silently
swallowing the exception messages.
Refs #19707 , special thanks to Carl Meyer for pointing out that this
approach should be taken.
2013-02-13 00:22:10 +02:00
Anssi Kääriäinen
77f6eb2a60
[1.5.x] Made custom m2m fields without through easier to use
...
The change in f105fbe52b21da206bfbaedf0e92326667d7b2d4 made through=None
m2m fields fail in cases where they worked before. It isn't possible to
create such fields using public APIs. The fix is trivial, so it seems
worth adding it.
This is not a backport from master. Master has gotten enough other
changes to related fields internal API that this fix alone isn't enough
to do any good.
2013-02-10 21:54:48 +02:00
Claude Paroz
44afe44602
[1.5.x] Emphasized MyISAM pseudo-requirement for GeoDjango over MySQL
...
Refs #15295 .
Backport of 8fbc20b24 from master.
2013-02-10 20:50:11 +01:00
Anssi Kääriäinen
7b5ca126ee
[1.5.x] Fixed #19112 -- Reduced the amount of query params in a test
...
Backpatch of 604d8763dc2c901a3557e15880895d88af5c4127.
2013-02-10 21:09:58 +02:00
Anssi Kääriäinen
b18ad807e0
[1.5.x] Fixed #19720 -- Oracle ordering related delete regression
...
When a query had a complex where condition (a condition targeting more
than the base table) a subquery was used for deletion. However, the
query had default ordering from the model's meta and Oracle doesn't
work with ordered subqueries.
The regression was caused by fast-path deletion code introduced in
1cd6e04cd4f768bcd4385b75de433d497d938f82 for fixing #18676 .
Thanks to Dylan Klomparens for the report.
Backpatch of 8ef3235034a1a7616714a5d61486dc68536f74ee
2013-02-10 19:58:22 +02:00
Anssi Kääriäinen
d8e68f421e
[1.5.x] Fixed #19638 -- Skipped tx support testing for some DBs
...
PostgreSQL and Oracle always support transactions, so the create table
and rollback test is non-necessary on those DBs.
Thanks to shai for report.
Backpatch of 0478780b8efdfcbc0d2c17f1459cac45701e1d86
2013-02-10 19:08:15 +02:00
Anssi Kääriäinen
60186aa2e5
[1.5.x] Fixed #19707 -- Reset transaction state after requests
...
Backpatch of a4e97cf315142e61bb4bc3ed8259b95d8586d09c
2013-02-10 14:09:58 +02:00
Anssi Kääriäinen
4c261c61f2
[1.5.x] Fixed #19645 -- Added tests for TransactionMiddleware
...
Backpatch of f556df90be995a83b979cf875705d98521ab4dc7. Backpatching
these tests so that it will be easier to backpatch the fix for #19707 .
2013-02-10 14:01:49 +02:00
Preston Holmes
bb12ea2cf1
[1.5.x] Made modwsgi groups_for_user consistent with check_password
...
2b5f848207b1dab35afd6f63d0107629c76d4d9a based its changes on #19061
that made the is_active attribute mandatory for user models.
The try/except was not removed for the groups_for_user function.
refs #19780
2013-02-09 09:33:34 -08:00
Tim Graham
7b278278ab
[1.5.x] Fixed #19699 - Removed "Please see the release notes" from versionadded/changed directives
...
Thanks Aymeric for the patch.
Backport of d93edffa89 from master.
2013-02-09 09:22:33 -05:00
Claude Paroz
2d53799ca6
[1.5.x] Fixed #19749 -- Documented ending param to command's self.stdout/err
...
Thanks xian at mintchaos.com for the report.
Backport of 0201b9d6d from master
2013-02-09 10:19:59 +01:00
Julien Phalip
15796db507
[1.5.x] Cleaned up some lingering signals in the test suite that were causing spurious failures with Pypy and Postgres.
...
Backport of db09a2de6e1bc7121
2013-02-08 12:13:43 -08:00
Claude Paroz
b8c6de31a6
[1.5.x] Fixed #19779 -- Checked contrib.sites presence in RedirectFallbackMiddleware
...
Thanks Aymeric Augustin for the report and directions for the patch.
Backport of 2ed90eac from master.
2013-02-08 16:36:57 +01:00
Preston Holmes
830b9fde46
[1.5.x] Fixed #19776 -- Added missing import for backport
...
line was present on master from 1520748dac95a7f114e4bb2feeee04d46c720494
2013-02-08 00:28:37 -08:00
Preston Holmes
660f80c3d6
[1.5.x] Fixed #19662 -- alter auth modelbackend to accept custom username fields
...
Thanks to Aymeric and Carl for the review.
2013-02-07 16:08:23 -08:00
Aymeric Augustin
833ccd4b5b
[1.5.x] Fixed #19772 -- Handled APPEND_SLASH correctly in the redirects app.
...
Backport of 64623a2.
2013-02-07 22:38:14 +01:00
Tim Graham
ad2311dfc6
[1.5.x] Fixed #19706 - Tweaks to the tutorial.
...
Thanks Daniele Procida.
Backport of aa85ccf8ce from master.
2013-02-07 07:14:03 -05:00
Tim Graham
a81363d85a
[1.5.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.
...
Backport of 43efefae69 from master
2013-02-07 07:03:46 -05:00
Julien Phalip
5ba76825cf
[1.5.x] Fixed a typo in the test suite that was causing some spurious failures with pypy.
...
Backport of 6afc85af47f7d9f44
2013-02-06 22:12:02 -08:00
Claude Paroz
20ac33100c
Partially revert 9efe1a721, strip_tags improvements
...
The new regex seems not stable enough for being released. Stripping
with regex might need reevaluation for the next release.
Refs #19237 .
2013-02-06 21:19:41 +01:00
Tim Graham
3b952123ac
[1.5.x] Fixed #19743 - Documented some limitations of contrib.auth.
...
Thanks Aymeric for the suggestion.
Backport of afa3e16334 from master
2013-02-06 08:27:53 -05:00
Claude Paroz
933e956ba4
[1.5.x] Fixed #19745 -- Forced resolution of verbose names in createsupersuser
...
Thanks Baptiste Mispelon for the report and Preston Holmes for the review.
Backport of 2390fe3f4 from master.
2013-02-06 10:06:57 +01:00
Simon Charette
f58aae9311
[1.5.x] Fixed #19734 -- Missing values in DATETIME_INPUT_FORMATS
doc.
...
Also changed formating of `DATE_INPUT_FORMATS` and
`TIME_INPUT_FORMATS` for readability.
Thanks minddust for the report!
Backport of 5c70299a71 from master.
2013-02-04 15:23:37 -05:00
Claude Paroz
7a90c6adcc
[1.5.x] Updated translations (bn/es/eu/lb/mn)
2013-02-04 21:09:20 +01:00
Claude Paroz
f5232597ea
[1.5.x] Fixed #19725 -- Made createsuperuser handle non-ascii prompts
...
Thanks Michisu for the report.
Backport of 55c585f1c from master.
2013-02-04 10:11:29 +01:00
Tim Graham
6155b66d06
[1.5.x] Fixed a typo in docs/topics/auth/customizing.txt
...
Backport of 2c173ff3b4 from master
2013-02-03 13:24:09 -05:00
Julien Phalip
be5369fd24
[1.5.x] Fixed #19333 -- Moved compress.py outside of the admin static folder. Thanks to camilonova, Russell Keith-Magee, Aymeric Augustin and Ramiro Morales for the feedback.
...
Backport of c9c40bc6bc64e6
2013-02-02 15:03:05 -08:00
Nick Sandford
e18bd68dbc
[1.5.x] Fixed #19445 -- Skip admin fieldsets validation when the ModelAdmin.get_form() method is overridden.
...
Backport of 0694d2196f0fad
2013-02-02 14:55:59 -08:00
Tim Graham
f28fbe7314
[1.5.x] Fixed #19700 - Added documentation for BoundField.field.
...
Thanks Tiberiu Ana for the report and patch.
Backport of fdaaa24171 from master
2013-02-02 08:38:02 -05:00
Claude Paroz
974909bc9a
[1.5.x] Lowered field ordering requirement in ogrinspect test
...
This test was randomly failing depending on the library environment.
Backport of a1c470a6f from master.
2013-02-02 14:02:43 +01:00
Claude Paroz
aaf6f39743
[1.5.x] Added missing parentheses in if clause
...
Backport of 1f8e7bb07 from master.
2013-02-02 12:14:53 +01:00
Claude Paroz
c39be8b836
[1.5.x] Fixed #18144 -- Added backwards compatibility with old unsalted MD5 passwords
...
Thanks apreobrazhensky at gmail.com for the report.
Backport of 63d6a50dd from master.
2013-02-02 12:03:08 +01:00