Aymeric Augustin
d01eaf7104
[py3] Removed uses of sys.maxint under Python 3.
...
Also fixed #18706 : improved exceptions raised by int_to_base36.
2012-08-03 18:51:28 +02:00
Alex Gaynor
129f1ac848
Remove a temporary variable deletion, it's not a big deal and it doesn't exist on python3.
2012-08-03 07:10:04 -07:00
Aymeric Augustin
5aec69ed29
Documented the trick used in 9908201d7f
.
2012-08-03 15:40:29 +02:00
Claude Paroz
9908201d7f
Replaced some byte strings by str() calls
...
This is a useful trick when Python 2 awaits byte strings and
Python 3 Unicode (regular) strings.
2012-08-03 15:18:13 +02:00
Claude Paroz
2407c45c18
Removed some pre-1.3.0 postgis compatibility code
2012-08-03 11:27:31 +02:00
Tim Graham
083a3a4e39
Fixed #13904 - Documented how to avoid garbage collection messages in GIS.
...
Thanks Claude Peroz for the patch.
2012-08-03 05:17:52 -04:00
Claude Paroz
c5d6f6d682
Reorganized geoapp gis tests
...
Removed the numbering of tests and moved lookup/geoqueryset tests
in their own test class.
2012-08-03 10:53:30 +02:00
Claude Paroz
a55cde8ab1
Fixed #18363 -- Improved Galician date and time format strings
...
Thanks Guttorm Flatabø for the report and the initial patch, and
Fran Dieguez for the review.
2012-08-03 09:35:39 +02:00
Claude Paroz
8fbfd21719
Fixed #18684 -- Added Finnish DATETIME_FORMAT
...
Thanks Guttorm Flatabø for the report and the initial patch.
2012-08-03 09:26:11 +02:00
Tim Graham
2a16eb0792
Fixed #17704 - Updated the StackedInline section in Tutorial 2; thanks xbito for the draft patch.
2012-08-02 19:22:49 -04:00
Tim Graham
07e10fbe9f
Fixed #16941 - Clarified naturaltime output when the time is more than a day old.
...
Thanks antoviaque for the patch.
2012-08-02 07:54:07 -04:00
Tim Graham
39541be3bc
Fixed #18581 - Updated admin actions screenshots. Thanks Kevin London.
2012-08-02 07:52:16 -04:00
Martin Brochhaus
6f229d2d7a
Update docs/topics/class-based-views/index.txt
...
Fixed a small typo:
"We can use create" should be "We can create"
2012-08-02 19:29:19 +08:00
Simon Meers
d7816c563b
Fixed #18472 - Added warning regarding set_language / i18n_patterns.
2012-08-02 20:45:55 +10:00
Simon Meers
c59fff707a
Reinstated Pinax link that was still in use by others.
2012-08-02 20:27:53 +10:00
Tim Graham
ebbc414d17
Fixed #16168 - Added note regarding type requirements when overridng ModelForm fields.
...
Thanks Pieter Swinkels for the patch.
2012-08-01 07:59:28 -04:00
Tim Graham
964979e8ec
Fixed #18122 - Clarified section title regarding applying permissions to generic views.
2012-07-31 16:13:52 -04:00
Tim Graham
8d3e501502
Fixed #17131 - Added per object permission notes to docs.
...
Thanks dchandek for the suggestion and mateusgondim for the patch.
2012-07-30 18:10:21 -04:00
Florian Apolloner
4129201c3e
Fixed a security issue in http redirects. Disclosure and new release forthcoming.
2012-07-30 22:01:50 +02:00
Florian Apolloner
b1d4634686
Fixed second security issue in image uploading. Disclosure and release forthcoming.
2012-07-30 21:57:22 +02:00
Florian Apolloner
dd16b17099
Fixed a security issue in image uploading. Disclosure and release forthcoming.
2012-07-30 21:54:29 +02:00
Alex Gaynor
e567f439bd
Merge pull request #225 from dekkers/remove-double-isinstance-check
...
Remove double isinstance check in force_unicode
2012-07-29 17:07:55 -07:00
Justin Bronn
c0748a621c
Updated my bio.
2012-07-29 16:53:56 -07:00
Tim Graham
690ed57946
Fixed #18476 - Added use of {% url %} tag to tutorial.
...
Thanks Claude Paroz for the patch.
2012-07-29 18:14:26 -04:00
Tim Graham
07d70e9b26
Fixed #18656 -- Fixed LocaleMiddleware link; thanks mitar for the report.
2012-07-28 13:31:41 -04:00
Tim Graham
00d5e632fa
Fixed #18630 -- Updated version in docs/intro/install.txt; thanks Kevin London.
2012-07-28 13:17:33 -04:00
Aymeric Augustin
ab6cd1c839
[py3] Updated dict-like data structures for Python 3.
...
The keys/items/values methods return iterators in Python 3, and the
iterkeys/items/values methods don't exist in Python 3. The behavior
under Python 2 is unchanged.
2012-07-25 22:58:48 +02:00
Florian Apolloner
4b5cb116e3
Fixed error message in detail generic view.
...
Thanks go to mitar for the report and the patch.
2012-07-25 22:46:57 +02:00
Rafik Draoui
04e8ef5a83
Updated example of customized ModelAdmin in documentation for 1.4
...
The change_view method of django.contrib.admin.ModelAdmin takes an
extra `form_url` argument in Django 1.4.
2012-07-25 21:33:38 +01:00
Florian Apolloner
7d06f975fe
Fixed #18614 -- Added missing imports in code samples.
2012-07-25 22:32:53 +02:00
Marc Tamlyn
a875f612e0
Fixed #18634 -- Don't escape variables in the context for startproject/startapp.
...
The & symbols which can come up in the secret key were
being escaped to &.
2012-07-25 22:24:41 +02:00
Florian Apolloner
59d99772f0
Merge pull request #216 from ljosa/ticket_18644
...
Fixed #18644 -- Made urlize trim trailing period followed by parenthesis
2012-07-25 13:22:49 -07:00
Florian Apolloner
51a010135c
Merge pull request #220 from dirn/staticfiles-docs-typo
...
Fix typo in staticfiles app documentation
2012-07-25 13:20:44 -07:00
Florian Apolloner
4865274bc1
Merge pull request #224 from reclosedev/patch-1
...
Documentation: Fix link to uWSGI deployment
2012-07-25 13:18:11 -07:00
Alex Gaynor
5ee8c3ef0c
Merge pull request #230 from pjdelport/cleanup
...
Cleanup
2012-07-25 13:07:10 -07:00
Alex Gaynor
98c7ad444c
Merge pull request #228 from nklas/master
...
Documentation: Fixed a typo in docs/releases/1.4.txt
2012-07-25 13:06:58 -07:00
Alex Gaynor
c4be14bd32
Merge pull request #232 from yohanboniface/ticket18667
...
Ticket 18667: fix typo in CBV doc
2012-07-25 12:56:08 -07:00
James Bennett
9d246e0f9f
Merge pull request #231 from kevin1024/master
...
Documentation fix - Change the word "brackets" to "parentheses"
2012-07-25 12:54:09 -07:00
Aymeric Augustin
f3c9a16a42
Fixed QueryDict.setlistdefault.
...
It was broken by a seemingly innocuous change in MultiValueDict.
Document the pitfall for now. This is fragile and should be
considered for refactoring.
2012-07-25 19:10:40 +02:00
Aymeric Augustin
69f4856f23
Fixed a typo in the admin reference docs.
...
Thanks Yohan Boniface for the report.
2012-07-25 10:57:30 +02:00
Yohan Boniface
206c248f1e
Ticket 18667: fix typo in CBV doc
2012-07-25 10:44:43 +02:00
Aymeric Augustin
942818e1b3
Rolled back a unnecessary change in 8f002867b2
.
...
This keeps the implementation of setdefault and setlistdefault
consistent. Also it's marginally faster than looking up the value
again.
2012-07-25 10:16:35 +02:00
Florian Apolloner
82292141a0
Made staticfiles tests independent of test execution order.
2012-07-25 10:00:23 +02:00
nklas
c7ac44e64b
Update docs/topics/signals.txt
...
Fixed a typo.
2012-07-25 13:20:26 +07:00
Kevin McCarthy
c3a05d8794
Changed the word "brackets" to "parentheses"
...
I want to change the word "brackets" to "parentheses" because when I think
of brackets, I think of [], and when I think of parentheses, I think of (),
and when I originally read this, I found the word confusing.
2012-07-24 16:55:08 -10:00
Alex Gaynor
ace9ccfe9f
Fixed #18666 -- when upgrading a user's password to a new algorithm only save the password field to the databaes.
2012-07-24 19:03:26 -07:00
Ramiro Morales
50837434db
Clarified default name of M2M relationship DB table.
2012-07-24 22:44:28 -03:00
Piet Delport
f1128e5474
Fix typo.
2012-07-25 01:21:16 +02:00
Piet Delport
487b92a13c
it's -> its
2012-07-25 01:21:15 +02:00
Ramiro Morales
f758bdab5e
Fixed #18271 -- Changed stage at which TransactionTestCase flushes DB tables.
...
Previously, the flush was done before the test case execution and now
it is performed after it.
Other changes to the testing infrastructure include:
* TransactionTestCase now doesn't reset autoincrement sequences either
(previous behavior can achieved by using `reset_sequences`.)
With this, no implicit such reset is performed by any of the provided
TestCase classes.
* New ordering of test cases: All unittest tes cases are run first and
doctests are run at the end.
THse changes could be backward-incompatible with test cases that relied
on some kind of state being preserved between tests. Please read the
relevant sections of the release notes and testing documentation for
further details.
Thanks Andreas Pelme for the initial patch. Karen Tracey and Anssi
Kääriäinen for the feedback and Anssi for reviewing.
This also fixes #12408 .
2012-07-24 17:24:16 -03:00