Claude Paroz
5e6ded2e58
Fixed #18363 -- Added Python 3 compatibility layer.
...
Thanks Vinay Sajip for the support of his django3 branch
and Alex Gaynor, kezabelle, YorikSar for the review.
2012-06-07 18:36:53 +02:00
Adrian Holovaty
87ff89d12d
Fixed #17933 -- Added intro note to writing-documentation.txt
...
Based on initial patch by Thomas Westfeld
2012-06-07 11:32:28 -05:00
Claude Paroz
4a103086d5
Fixed #18269 -- Applied unicode_literals for Python 3 compatibility.
...
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
2012-06-07 18:08:47 +02:00
Florian Apolloner
e1643e3535
Don't escape object ids when passing to the contenttypes.shortcut view.
...
This commit also changes the string pk to string_pk instead of id, to test
if the admin uses .pk throughout the codebase.
2012-06-07 17:52:12 +02:00
Aymeric Augustin
706fd9adc0
Merge pull request #122 from jakul/issue-18442
...
Fixed #18442 -- Invalid locale name in docs.
2012-06-07 08:41:16 -07:00
jakul
0e36948f62
fix bad locale names
2012-06-07 17:24:48 +02:00
Aymeric Augustin
c28e700c7e
Removed references to changes made in 1.2.
...
Thanks Florian Apolloner for the patch.
2012-06-07 15:02:35 +02:00
Claude Paroz
6492e8e5e6
Added more precise assertions on two fixture tests.
2012-06-07 14:37:37 +02:00
Aymeric Augustin
10a9c260fc
Merge pull request #117 from juanriaza/master
...
Fixed #18380 -- Improved installation instructions for MySQLdb.
2012-06-07 04:40:38 -07:00
Juan Riaza
bac6a68064
Fixed #18380 -- Improve installation instructions for MySQLdb
2012-06-07 13:35:04 +02:00
Aymeric Augustin
875c762517
Fixed #16916 -- Documented default headers for the test client.
...
Thanks sailorfred AT yahoo.com for the report and raulcd
for the initial version of the patch.
2012-06-07 12:51:48 +02:00
Aymeric Augustin
17f3e9258e
Fixed #18397 -- Avoided referencing lawrence.com.
...
This commit includes multiple small related changes, see the ticket
for a full discussion.
2012-06-07 11:50:20 +02:00
Aymeric Augustin
4ce5a5fe78
Fixed #18396 -- Changed Spatialite download URLs.
...
Thanks gabrielcw AT gmail.com for the report.
2012-06-07 11:19:10 +02:00
Aymeric Augustin
b48432201b
Fixed #18411 -- Clarified HttpRequest doc slightly.
...
Thanks torkel.bjornson AT gmail.com for the report.
2012-06-07 11:04:15 +02:00
Claude Paroz
6fd1950a4e
Fixed #10200 -- Raised CommandError when errors happen in loaddata.
2012-06-07 10:32:10 +02:00
Aymeric Augustin
4464bbba15
Fixed #14502 -- Added a verbatim template tag.
...
Thanks SmileyChris for the patch.
2012-06-07 09:59:14 +02:00
Claude Paroz
2c57809a56
Prevented TestNoInitialDataLoading to pollute other tests (Refs #15926 )
...
Tests were still failing with MySQL. It seems a rollback is solving
the issue.
2012-06-06 15:47:48 +02:00
Luke Plant
f5ce1793a8
Small cleanup in prefetch_related code
2012-06-06 14:19:06 +01:00
Luke Plant
4fea46a030
Fixed #18309 - Prefetch related does not work for fkey to multitable inherited model
...
Thanks to milosu for the report, tests and initial patch.
2012-06-06 14:17:32 +01:00
Claude Paroz
f0664dc8ae
Made TestNoInitialDataLoading pass with MySQL (Refs #15926 )
2012-06-06 13:54:40 +02:00
Jacob Kaplan-Moss
7edf231d46
Replaced documentation snippets using "gender" with less sensitive examples.
2012-06-06 13:52:53 +02:00
Claude Paroz
70a0351fef
Fixed #18184 -- Moved algorithm identification code to hashers module
...
Thanks Eli Collins for the report and the patch.
2012-06-06 11:06:33 +02:00
Claude Paroz
eb286aa22f
Delayed encoding of password and salt in password checking.
...
Applied the rule that string encoding should happen as late as
possible. This is also a preparation for Python 3 compatibility.
2012-06-06 10:53:16 +02:00
Claude Paroz
9c096ab981
Fixed #17328 -- Added OpenLayersWidget _has_changed method
...
Thanks Will Hardy for the report and the patch.
2012-06-06 10:42:14 +02:00
Aymeric Augustin
29a80354ab
Added alt attribute to img tags in docs.
...
This is a good practice for accessibility.
Thanks Jessica McKellar for the report.
2012-06-06 10:32:03 +02:00
Claude Paroz
17824e2b74
Fixed #17736 -- Kept maximal floating-point accuracy in from_bbox
...
When constructing a polygon with Polygon.from_bbox, do not convert
parameters to strings at this stage (str defaults to 12 significant
digits).
Thanks tdihp@hotmail.com for the report and David Eklung for the patch.
2012-06-06 10:09:32 +02:00
Honza Kral
fedac99c85
Fixed #15926 -- Added option --no-initial-data to syncdb and flush.
...
Thanks msiedlarek, jpaugh64 and vlinhart!
2012-06-05 16:46:15 +02:00
Honza Král
4db34e7b4f
Merge pull request #112 from bohyn/master
...
Django Admin's input for BigIntegerField should be larger, Fixes #17804
2012-06-05 04:39:47 -07:00
martin.bohacek
eee791e9b2
Merge branch 'master' of https://github.com/django/django
2012-06-05 13:29:33 +02:00
martin.bohacek
fbb7389439
Ticket #17804 fix.
2012-06-05 13:28:32 +02:00
Luke Plant
840ffd80ba
Noted that SECURE_PROXY_SSL_HEADER is needed by CSRF protection.
...
Both false positives and false negatives of HttpRequest.is_secure can be
dangerous.
2012-06-04 21:41:05 +01:00
Luke Plant
0199bdc0b4
Rewrote security.txt SSL docs, noting SECURE_PROXY_SSL_HEADER.
2012-06-04 21:41:05 +01:00
Adrian Holovaty
6799ffad9a
Merge pull request #99 from danielroseman/master
...
Docs: "Form in a view" example doesn't use RequestContext
2012-06-04 13:13:14 -07:00
Claude Paroz
5ef599c7b3
Used skipUnless decorator to skip tests in geos tests.
2012-06-04 20:39:54 +02:00
Julien Phalip
f699641161
Fixed #17138 -- Made the sensitive_variables decorator work with object methods.
2012-06-03 23:44:13 -07:00
Julien Phalip
f29234167a
Merge pull request #104 from samuraisam/17138-html5-remove-summary
...
Fixed #17138 -- Removed the 'summary' attribute from the admin index tables to be html5-valid.
2012-06-03 17:57:46 -07:00
Honza Kral
a89034a2d8
Changed FilePathField tests to use it's own directory with test files.
...
In previous version it used /django/forms/ which was fragile - for some
users .pyc files were not generated and this tests failed.
2012-06-03 22:54:34 +02:00
Honza Kral
71d9a2a7fe
Unittest2 style assertTrue instead of assert_
2012-06-03 22:31:49 +02:00
Honza Kral
f823ae3b3e
Fixed incorrect assert in test_filepathfield_folders
2012-06-03 21:46:14 +02:00
Samuel Sutch
43a46e9004
Remove the summary attribute of the table
...
In the discussion here: https://code.djangoproject.com/ticket/17138
it was decided that using the caption for this previously
non-visible part of the table element was not semantic, so in this
patch is moves that summary to the `title` attribute of the `a`
tag which when overed over, on most browsers, will show the text.
2012-06-03 12:44:37 -07:00
Claude Paroz
6522283a71
Fixed #14478 -- Isolated messages tests from custom TEMPLATE_CONTEXT_PROCESSORS
2012-06-02 21:28:18 +02:00
Claude Paroz
7676d6e764
Made sitemaps tests use override_settings. Refs #14478
2012-06-02 21:24:18 +02:00
Claude Paroz
566ac30eb9
Fixed override_settings usage in test_client_regress
2012-06-02 19:50:24 +02:00
Claude Paroz
ade44b8d40
Fixed settings override in mail regression tests
...
self.settings_override from test subclasses were overwriting parent
attribute.
2012-06-02 19:44:15 +02:00
Claude Paroz
f65e412abd
Fixed #18259 -- Specified that ROOT_URLCONF might be needed.
...
When using the template system in standalone mode and if the url
template tag is used, ROOT_URLCONF has to be defined.
Thanks techtonik for the report.
2012-06-02 11:38:23 +02:00
Ramiro Morales
d4648a3446
Removed debugging code added in last commit.
2012-06-01 21:50:06 -03:00
Ramiro Morales
72130385bf
Made inspectdb tests deal with a smaller generated models.py file.
...
Implemented this by adding a stealth table_name_filter option for the
command.
2012-06-01 21:46:07 -03:00
Aymeric Augustin
939af5a654
Fixed a typo in a comment. Refs #17742 .
2012-06-01 08:09:58 +02:00
Julien Phalip
314d82a94e
Merge pull request #101 from jphalip/tickets/18409-regexfield-unicode
...
Fixed #18409 -- Made RegexField work with unicode characters.
2012-05-31 14:40:03 -07:00
Julien Phalip
f6fc83c975
Fixed #18409 -- Made RegexField work with unicode characters.
2012-05-31 11:45:35 -07:00