1
0
mirror of https://github.com/django/django.git synced 2025-01-23 00:29:34 +00:00

5016 Commits

Author SHA1 Message Date
Tim Graham
0fdfcee257 Fixed - Added a link to RelatedManager in the ManytoManyField docs; thanks jammon for the suggestion. 2012-09-19 18:00:14 -04:00
Tim Graham
acd74ffa35 Fixed - Added references to CBVs in the URLConf docs; thanks Andrew Willey for the suggestion. 2012-09-19 17:59:47 -04:00
Tim Graham
1360bd4186 Fixed - Added an example of how to connect a m2m_changed signal handler. 2012-09-19 15:09:49 -04:00
Carl Meyer
4e9a74b81d Revert "Fixed -- Made get_or_create use read database for initial get query."
Thanks to Jeremy Dunck for pointing out the problem with this change. If in a
single transaction, the master deletes a record and then get_or_creates a
similar record, under the new behavior the get_or_create would find the record
in the slave db and fail to re-create it, leaving the record nonexistent, which
violates the contract of get_or_create that the record should always exist
afterwards. We need to do everything against the master here in order to ensure
correctness.

This reverts commit 901af865505310a70dd02ea5b3becbf45819b652.
2012-09-19 11:15:12 -06:00
Carl Meyer
901af86550 Fixed -- Made get_or_create use read database for initial get query.
Thanks Rick van Hattem for the report and trbs for the patch.
2012-09-19 10:06:53 -06:00
Collin Anderson
b771bcc7b4 document changes for YearArchiveView. 2012-09-18 11:06:10 -04:00
Preston Holmes
b1b32b2074 Added myself as a committer. 2012-09-17 22:02:16 -07:00
Tim Graham
89e809c400 Merge pull request from pydanny/ajax-docs-example
Added example of AJAX form submission for CBVs.
2012-09-17 16:02:07 -07:00
Florian Apolloner
23d0136314 Merge branch 'lotheac-fix_uploaded_file_exec' 2012-09-17 22:54:26 +02:00
Florian Apolloner
e8c6aff3bf Fixed -- Don't make uploaded files executeable by default.
Thanks to Lauri Tirkkonen for the patch.
2012-09-17 22:53:10 +02:00
Marc Tamlyn
b16f8b5fbe Add example of AJAX form submission.
Credit goes to @SystemParadox. Originally developed at #DjangoCon Europe
but wasn't tested enough to merge in.

For history, please see https://github.com/pydanny/django/pull/4
2012-09-17 08:56:43 +01:00
Florian Apolloner
935a8635c2 Merge pull request from ptone/patch-2
Clearer wording for defer docs
2012-09-16 02:45:44 -07:00
Preston Holmes
8d75b1176f Clearer wording for defer docs 2012-09-15 14:24:01 -07:00
Camilo Nova
17149496a0 Fixes docs typo 2012-09-15 15:45:13 -05:00
Tim Graham
93e6733e4c Fixed - Documented ContentTypeManager.get_for_id; thanks sir_sigurd for the report. 2012-09-15 08:15:54 -04:00
Tim Graham
22242c510f Fixed - Documented how to extend UserAdmin with UserProfile fields; thanks charettes for the draft example. 2012-09-15 07:38:34 -04:00
Tim Graham
553583958d Added an example of using a form wizard with different templates; thanks Lorin Hochstein for the patch. 2012-09-15 07:16:07 -04:00
Tim Graham
e5f8fe27ac Removed reference to note removed in a78dd109e6c81c49e90e36e9b793bad67c46c23c; refs 2012-09-15 06:41:58 -04:00
Tim Graham
a73838fde3 Fixed - Expanded docs on customizing widgets; thanks fadeev for the draft patch. 2012-09-15 06:22:00 -04:00
Claude Paroz
65793d714c Used ST_AsText for testing PostGIS raw query
AsText will not be supported in further versions of PostGIS (>=2).
2012-09-15 12:02:28 +02:00
Bryan Veloso
abfba3bb65 Correcting my English. 2012-09-14 19:26:11 -07:00
Bryan Veloso
a01bce1e26 Adding myself to the committers list. 2012-09-14 19:24:39 -07:00
Jeremy Dunck
9db7652eef Fixed my terribly outdated profile in committers.txt in celebration of my commit bit. 2012-09-12 14:37:44 -07:00
Julien Phalip
0133d66734 Removed a colloquialism ("and then some") from the documentation index page that would be confusing to non-native English speakers. 2012-09-10 17:27:50 -07:00
Julien Phalip
6eb4f25692 Removed an obsolete documentation page about admin style customization. 2012-09-10 17:19:35 -07:00
Claude Paroz
f1bdfbd24b Document and test 'type' usage in Widget attrs
Refs .
2012-09-10 19:31:11 +02:00
Karen Tracey
ffe8bc00bf Replaced backwards-incompatible changes reference
The previously-referenced wiki page documents backwards-incompatible
changes from .96 to 1.0. Changed that referece to point to current
in-development release notes, which is where such changes are now
documented.
2012-09-09 12:53:32 -04:00
Carl Meyer
a78dd109e6 Fixed -- LOGIN_URL and LOGIN_REDIRECT_URL can take URLpattern names.
Thanks UloPe and Eric Florenzano for the patch, and Malcolm Tredinnick for
review.
2012-09-08 16:58:35 -06:00
Tim Graham
518c582966 Fixed - Documented HEAD method in CBVs; thanks zsiciarz for the patch. 2012-09-08 18:45:02 -04:00
Tim Graham
72ca530af5 Fixed typo in commit for ; thanks Bruno Renié for the catch. 2012-09-08 17:34:22 -04:00
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
Tim Graham
3bdb65dc59 Updated print statements to work with py3; thanks Claude Paroz noting this. 2012-09-08 15:15:10 -04:00
Tim Graham
6e2bb344e4 Fixed - Documented how to use a mutable default in a model field. 2012-09-08 14:52:17 -04:00
Tim Graham
20ee727ac9 Fixed - Added methods/attributes to CBV docs. Thanks Daniel Greenfeld! 2012-09-08 14:11:45 -04:00
Tim Graham
76bd33539f Merge pull request from nmartini/ticket_18832
Fixed  - Updated ModelForm example fields to match note below
2012-09-08 10:34:11 -07:00
Tim Graham
b139cfc0f7 Fixed - Documented the as_view() method for CBVs. 2012-09-08 13:19:58 -04: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 2012-09-08 12:30:41 -04:00
Aymeric Augustin
7207327dd3 Updated docs for dates generic views.
Fixes . Refs .
2012-09-08 12:22:39 -04:00
Preston Holmes
3da43c1111 Fixed -- Deprecated contrib.markup. Thanks to simukis for the initial patch. 2012-09-08 12:13:46 -04:00
Tim Graham
d823bb790d Fixed -- 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 .
2012-09-08 11:00:04 -04:00
Tim Graham
b7d3b057f3 Fixed - 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 from shabda/ticket_18928
Fixed  - Tightened language in docs/README
2012-09-08 03:45:41 -07:00
Tim Graham
dc01e41d23 Fixed - Documented that update() doesn't honor DateField.auto_now
Thanks Shabda Raaj for the draft patch.
2012-09-08 06:38:41 -04:00
Shabda Raaj
8198a1923e Fixed . 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  (again).
2012-09-07 19:59:00 -04:00