James Bennett
5c5226a520
Fix typo: Non -> None
2012-09-08 16:14:13 -04:00
James Bennett
408c10e541
Untabify multi-db docs.
2012-09-08 16:08:01 -04:00
James Bennett
5d1f09f450
Ticket 18657: Fix inconsistent DB names in router example.
...
This rewrites the entire example to use the same DB names throughout,
and also is hopefully a bit more sensibly described. Additionally, the
missing import of the random module for choosing a read slave is
included in the example now.
2012-09-08 16:02:00 -04:00
Claude Paroz
d7853c55ed
Removed warning check in test_load_overlong_key
...
Some backends issue a warning here, others not. This is not the primary
goal of the test, so the assertion about the warning has been removed.
Thanks Carl Meyer for noticing the issue and suggesting the fix.
2012-09-08 21:31:46 +02:00
Tim Graham
3bdb65dc59
Updated print statements to work with py3; thanks Claude Paroz noting this.
2012-09-08 15:15:10 -04:00
Travis Swicegood
4754f122dd
Moved the admin inline JS to new JS files for cleanliness.
2012-09-08 15:09:37 -04:00
Tim Graham
6e2bb344e4
Fixed #18478 - Documented how to use a mutable default in a model field.
2012-09-08 14:52:17 -04:00
Tim Graham
20ee727ac9
Fixed #18628 - Added methods/attributes to CBV docs. Thanks Daniel Greenfeld!
2012-09-08 14:11:45 -04:00
Tim Graham
76bd33539f
Merge pull request #359 from nmartini/ticket_18832
...
Fixed #18832 - Updated ModelForm example fields to match note below
2012-09-08 10:34:11 -07:00
Tim Graham
b139cfc0f7
Fixed #15730 - Documented the as_view() method for CBVs.
2012-09-08 13:19:58 -04:00
Carl Meyer
3c27344b45
Merge pull request #361 from koniiiik/py3kdoc
...
Fixed a typo in the Python 3 compatibility docs.
2012-09-08 10:14:48 -07:00
Michal Petrucha
86e149ae05
Fixed a typo in the Python 3 compatibility docs.
2012-09-08 18:54:33 +02:00
Nick Martini
571698997f
fixing modelforms example code, ticket #18832
2012-09-08 12:30:41 -04:00
Aymeric Augustin
7207327dd3
Updated docs for dates generic views.
...
Fixes #18245 . Refs #3542 .
2012-09-08 12:22:39 -04:00
Preston Holmes
3da43c1111
Fixed #18054 -- Deprecated contrib.markup. Thanks to simukis for the initial patch.
2012-09-08 12:13:46 -04:00
Caleb Smith
210fd7c658
refs #12836 - Added a test to assure permalink wraps method attributes
2012-09-08 11:58:48 -04:00
Aymeric Augustin
617d077f1f
Merge pull request #357 from tswicegood/fix-list-attr
...
Removed admin's swallowing of AttributeError (#16655 , #18593 , #18747 )
2012-09-08 08:37:40 -07:00
Travis Swicegood
ccd1bb0d81
Remove Admin's swallowing of AttributeError ( #16655 , #18593 , #18747 )
...
During the new-admin changes, catching of AttributeError was added to
the admin. This patch removes that as it's no longer possible to add a
value to a ModelAdmin that is not available. Adding an attribute that
can not be called causes an ImproperlyConfigured exception to be raised.
2012-09-08 11:20:05 -04:00
Tim Graham
d823bb790d
Fixed #17156 -- Added documentation examples for exists()
...
Thanks mrmagooey for the draft patch.
2012-09-08 11:19:49 -04:00
Aymeric Augustin
e69348b4e7
Avoided mixing dates and datetimes in the examples.
...
Refs #16023 .
2012-09-08 11:00:04 -04:00
Tim Graham
b7d3b057f3
Fixed #18365 - Added a reminder of the context processor required for the set_language view.
...
Thanks Nick Martini for the patch.
2012-09-08 06:56:07 -04:00
Tim Graham
b036baa990
Merge pull request #354 from shabda/ticket_18928
...
Fixed #18928 - Tightened language in docs/README
2012-09-08 03:45:41 -07:00
Tim Graham
dc01e41d23
Fixed #15566 - Documented that update() doesn't honor DateField.auto_now
...
Thanks Shabda Raaj for the draft patch.
2012-09-08 06:38:41 -04:00
Claude Paroz
09a99714c0
Moved get_primary_key_column implementation to base
...
Refs #17574 .
2012-09-08 10:24:13 +02:00
Shabda Raaj
8198a1923e
Fixed #18928 . Tightened language in docs/README.
2012-09-08 11:11:37 +05:30
Justin Bronn
3622be42b0
Updated the Ubuntu installation section for 12.04 release.
2012-09-07 18:08:57 -07:00
Aymeric Augustin
ce53a1d0bf
Clarified the messages documentation.
...
* Stated upfront that the messages framework is enabled by default.
* Explained why FallbackStorage, despites its unattractive name, is the
default and likely the most efficient message storage class.
Thanks Jeremy Dunck for the review.
Closes #17026 (again).
2012-09-07 19:59:00 -04:00
Tim Graham
fa8fb2b383
Fixed #18490 - Updated DateField input formats; thanks dloewenherz for the draft patch.
2012-09-07 19:49:38 -04:00
Aymeric Augustin
4e1fd38bd6
Fixed #18781 -- Reduced max session cookie size.
2012-09-07 19:24:02 -04:00
Malcolm Tredinnick
6add6170c0
Small reorganisation of initial parts of URL documentation.
...
Trying to move most of the introductory example stuff up to the top and
pushing the reference bits further down.
2012-09-07 19:12:14 -04:00
Aymeric Augustin
9b07b5edeb
Fixed #18916 -- Allowed non-ASCII headers.
...
Thanks Malcolm Tredinnick for the review.
2012-09-07 19:08:57 -04:00
Tim Graham
1d235b3914
Merge pull request #351 from 1ntrud3r/patch-1
...
Remove unused imports in tutorial 4. refs #18915
2012-09-07 15:29:42 -07:00
Tim Graham
499e71eb2e
Merge pull request #341 from nmartini/master
...
Updated text in tutorial 3 regarding removing unused import; refs #18915
2012-09-07 15:27:29 -07:00
Aymeric Augustin
2649cb8ff3
Fixed typo from 7435cc01
.
...
Thanks kmike.
2012-09-07 17:37:08 -04:00
Aymeric Augustin
7435cc0167
Updated install docs to reflect Python 3 status.
...
Closes #17452 .
2012-09-07 17:12:11 -04:00
Alex Gaynor
b865009d41
Fixed #12397 -- allow safe_join to work with the root file system path, which means you can have your root template or file upload path at this location. You almost certainly don't want to do this, except in *very* limited sandboxed situations.
2012-09-07 16:49:22 -04:00
Enrico Ehrhardt
e78f2f6a63
remove unused import in tutorial 4 addition to #18915 (closed)
...
After submitting ticket #18915 , I noticed 2 additional occurrences of the issue.
2012-09-07 23:26:37 +03:00
Alex Gaynor
3a10bcc917
Document ``six.assertRaisesRegex``.
2012-09-07 15:51:22 -04:00
Alex Gaynor
5999eb42eb
Removed another usage of the bear "except:" (rawr!).
2012-09-07 15:34:48 -04:00
Alex Gaynor
ad50243cd1
[py3k] Fixed the index creation code that I committed a few minutes ago for py3k.
2012-09-07 15:33:02 -04:00
Alex Gaynor
335a9f9cf1
Removed many uses of bare "except:", which were either going to a) silence real issues, or b) were impossible to hit.
2012-09-07 15:08:07 -04:00
James Bennett
257c4011cb
Merge pull request #331 from davidfischer/master
...
Ticket #17324 - Improve security docs with better CSRF explanation
2012-09-07 12:02:53 -07:00
James Bennett
46249061d6
Merge pull request #333 from brad/ticket_18917
...
clarify clean_<field> docs, ticket #18917
2012-09-07 12:00:01 -07:00
Alex Gaynor
6a5a12ea3e
Fixed #17888 -- no longer silence exceptions inside of check_test. Thanks to brutasse for the patch.
2012-09-07 14:37:21 -04:00
Alex Gaynor
e4ea536774
Ensued that SQL indexes are alwasy created in the same name.
...
Previous this used Python's builtin hash() function, which has never been guarnteed to be stable across implementations (CPython/Jython/etc.) or 32/64 bitness. However, this in practice it was stable. However, with the impending release of Python 3.3 hash randomizations is enabled by default, which would mean the index name changed between program invocations.
2012-09-07 14:14:06 -04:00
Alex Gaynor
a92b81b0e8
Fixed tests that I broke a few commits ago.
2012-09-07 14:01:46 -04:00
Alex Gaynor
f47af9df1d
Cleaned up several test cases, to better isolate state.
2012-09-07 13:47:12 -04:00
Justin Bronn
72b8f8d73b
Updated the GEOS, PostGIS, and PROJ.4 versions in the GeoDjango installation docs.
2012-09-07 13:35:09 -04:00
Nick Martini
9e190e1c82
Merge branch 'master' of git://github.com/django/django
2012-09-07 13:31:01 -04:00
Alex Gaynor
292322f977
[py3k] Silence many warnings while running the tests.
2012-09-07 13:17:34 -04:00