Tim Graham
a73838fde3
Fixed #11185 - 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 #16630 .
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 #15552 -- 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 #15906 - 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 #15730 ; 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 #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
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
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
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
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
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
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
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
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
9ce58906af
removed unused import from tutorial 3 documentation as per ticket #18915
2012-09-07 13:05:23 -04:00
Alex Gaynor
4321ee25c5
Merge pull request #336 from dlo/tickets/18915
...
remove unused import in decoupling URLs tutorial, closes #18915
2012-09-07 09:43:05 -07:00
Aymeric Augustin
e1a37d5537
[py3] Documented forwards-compatible aliases
...
that will be available as of version 1.4.2.
2012-09-07 11:57:46 -04:00
Dan Loewenherz
07b3d39d10
remove unused import in decoupling URLs tutorial, closes #18915
...
The `include` function isn't used in polls/urls.py.
2012-09-07 11:49:55 -04:00
Dan Loewenherz
09e3d364b9
specify any orderable field can be specified in get_latest_by, closes #18875
2012-09-07 11:34:18 -04:00
Brad Pitcher
c634375e9c
clarify clean_<field> docs, ticket #18917
2012-09-07 10:43:55 -04:00
David Fischer
58786897a1
Formatting fix for host headers section
2012-09-06 16:10:08 -04:00
David Fischer
c65100248d
Added CSRF with HTTPS/HSTS and forwarding note
2012-09-06 16:08:14 -04:00
David Fischer
ba141e6906
Added note about Strict Transport Security (HSTS)
2012-09-06 15:13:31 -04:00
Simon Meers
ee1b3e2a3a
Fixed minor typo in 1.3 release notes.
2012-09-06 21:00:16 +10:00
Adrian Holovaty
3f53cac520
Merge pull request #318 from Matt-Stevens/master
...
Small doc change: clarify day and month
2012-09-05 19:20:25 -07:00
Tim Graham
e5983af7c1
Fixed #18904 - Typo in MySQL link; thanks Johie Anderson for the report.
2012-09-05 17:50:17 -04:00
Shabda Raaj
b791fda0df
Fixed #18905 - Changed to new url for Djangopeople
2012-09-05 16:20:23 +05:30
Tim Graham
51ee850776
Fixed #9967 - Added a link to a bug that affects contrib.comments redirects.
2012-09-04 16:27:58 -04:00
Matt Stevens
a7d831a305
Changes day to from 2 to 30
2012-09-03 16:31:37 +01:00
Matt Stevens
813241f655
Clarifies day and month in example queryset
2012-09-03 15:20:05 +01:00
Tim Graham
03ad7d3c20
Merge pull request #315 from streeter/auth-docs-cleanup-patch
...
Clarify some of the password reset docs
2012-09-01 15:05:18 -07:00
Tim Graham
c6088bc91d
Fixed #18840 - Added a mentioned of the upload_to parameter to the ModelForm example in file uploads.
2012-09-01 15:38:44 -04:00
Claude Paroz
306d34873c
Fixed #18212 -- Standardized arguments of GenericIPAddressField
...
Unlike other model fields, the newly introduced (1.4)
GenericIPAddressField did not accept verbose_name and name as the
first positional arguments. This commit fixes it.
Thanks Dan McGee for the report and the patch.
2012-09-01 18:38:55 +02:00
Tim Graham
74c025d028
Fixed #13608 - Noted that template lookups use literal values.
2012-09-01 09:24:39 -04:00
Tim Graham
5faadea439
Fixed #17378 - Added a flattened index for class-based views.
...
Thanks Preston Holmes for the patch.
2012-09-01 09:20:38 -04:00
Tim Graham
e376558ed2
Fixed #16936 - Updated javascript for CSRF protection.
...
Thanks Idan Gazit for the patch.
2012-09-01 06:03:01 -04:00
Tim Graham
f99ecaff06
Fixed #18642 - Added a note suggesting the use of render() rather than render_to_response() if you need RequestContext in your template.
2012-08-31 20:24:33 -04:00
Chris Streeter
fef641d164
Clarify some of the password reset docs
...
Some of the wording was copied from the change password section. Updated
the text to clarify that the we are talking about password resets.
2012-08-31 16:13:50 -07:00
Tim Graham
70896386ec
Fixed #16309 - Made ModelAdmin.list_filter versionchanged annotations more specific to the sections that changed; thanks akaihola for the suggestion and patch.
2012-08-31 18:01:02 -04:00
Claude Paroz
44f541ab47
Added 1.4.1 and 1.3.2 release notes
2012-08-31 20:35:50 +02:00
Tim Graham
7235cc7685
Fixed #14556 - Documented how to use flatpages in URLconf; thanks Claude Paroz for the draft patch.
2012-08-31 08:14:45 -04:00
Florian Apolloner
785980d30e
Merge pull request #310 from juanpex/master
...
fix documentation testing of Selenium WebDriverWait
2012-08-31 04:59:59 -07:00
Florian Apolloner
fc81854934
Merge pull request #311 from gutworth/py3-doc
...
Indexing bytes is the problem not slicing.
2012-08-31 04:56:42 -07:00
Alex Gaynor
17d57275f9
Fixed #18883 -- added a missing self parameter in the docs
2012-08-30 19:19:11 -07:00
Tim Graham
f698b973ea
Fixed #18384 - Reformatted GeoDjango install instructions slightly.
2012-08-30 16:16:28 -04:00
Tim Graham
36df198e4b
Fixed #18647 - Removed link to Malcolm's blog which is gone.
2012-08-30 07:44:41 -04:00
Tim Graham
141e6cd2ac
Fixed #18871 - Fixed typo in multi-db docs.
2012-08-30 06:45:11 -04:00
Claude Paroz
361d6738f8
Fixed #11739 -- Made ContentFile support Unicode input
2012-08-29 11:21:33 +02:00
Claude Paroz
ebc773ada3
Replaced many smart_bytes by force_bytes
...
In all those occurrences, we didn't care about preserving the
lazy status of the strings, but we really wanted to obtain a
real bytestring.
2012-08-29 11:20:32 +02:00
Benjamin Peterson
c87b08d2a1
Indexing bytes is the problem not slicing.
2012-08-28 20:46:42 -04:00
Florian Apolloner
e98eff836d
Added latex preamble for ≤.
...
Thanks to bnomis for the report and yajogo for the initial patch.
2012-08-28 22:45:51 +02:00
juanpex
bfa3d5af34
fix documentation testing of Selenium WebDriverWait
...
According to the documentation of Selenium, WebDriverWait class has no timeout parameter and using the code fails.
http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/support/ui/FluentWait.html#until%28com.google.common.base.Predicate%29
2012-08-27 21:04:20 -03:00
Ramiro Morales
c73f2bd65c
Fixed typo in model fields reference docs.
2012-08-26 00:24:32 -03:00
Claude Paroz
62e1c5a441
Fixed #17448 -- Improved test and documented raw-sql gis query
2012-08-25 14:39:52 +02:00
Tim Graham
e6e01f619d
Updated doc for settings.MEDIA_ROOT based on what's generated by settings.py; thanks ryan-blunden.
2012-08-25 08:25:34 -04:00
Tim Graham
df7c1a13a0
Fixed #18804 - Reorganized class based views docs a bit; thanks anthonyb for the initial patch.
2012-08-25 08:13:43 -04:00
Tim Graham
e57338f2b9
Fixed #18847 - Updated for media examples to use static.example.com. Thanks Jamie Curle.
2012-08-24 08:23:50 -04:00
Karen Tracey
14924ea96b
Merge pull request #301 from carlospalol/quickfix/blog-post-typo
...
Fixed typo in docs
2012-08-24 04:28:43 -07:00
Ramiro Morales
6786b38ace
Modified docs about SpatiaLite version that doesn't need manual initial SQL file loading as per 675431dfaa
.
2012-08-23 21:18:29 -03:00
Carlos Palol
f200ffd701
Fixed typo in docs
2012-08-23 16:46:38 +02:00
Claude Paroz
44c09de555
Fixed #18678 -- HttpResponse init arguments allowed for subclasses
...
Thanks hp1337@gmail.com for the report.
2012-08-23 10:59:22 +02:00
Tim Graham
e06189f7ce
Merge pull request #297 from mjjohnson/ticket_17069
...
Fixed #17069 -- Added log filter example to docs.
2012-08-22 17:36:46 -07:00
Claude Paroz
7cfe8e8fce
Fixed #11340 -- Prevented HttpResponseNotModified to have content/content-type
...
The HTTP 1.1 spec tells that the 304 response MUST NOT contain a
message body.
Thanks aparajita for the report.
2012-08-22 20:55:24 +02:00
Tim Graham
13d47c3f33
Fixed #18637 - Updated some documentation for aspects of models that are ModelForm specific, not admin specific.
...
Thanks Ben Sturmfels for the patch.
2012-08-21 17:38:16 -04:00
Tim Graham
3fd89d9903
Fixed #14885 - Clarified that ModelForm cleaning may not fully complete if the form is invalid.
...
Thanks Ben Sturmfels for the patch.
2012-08-21 17:32:53 -04:00
Michael Johnson
32ffcb21a0
Fixed #17069 -- Added log filter example to docs.
...
Added an example of filtering admin error emails (to exclude
UnreadablePostErrors) to the docs.
2012-08-21 09:01:11 -04:00
Alex Gaynor
831f2846dd
Fixed #18819 -- fixed some typos in the auth docs
2012-08-20 14:27:28 -07:00
Aymeric Augustin
610746f6cb
Fixed #18023 -- Documented simplejson issues.
...
Thanks Luke Plant for reporting the issue and Alex Ogier for thoroughly
investigating it.
2012-08-20 21:21:00 +02:00
Aymeric Augustin
1288572d92
Made an example more readable in the URLs docs.
2012-08-20 18:23:17 +02:00
Aymeric Augustin
4e82d61400
Added links in URLs doc for consistency.
2012-08-20 15:02:25 +02:00
Simon Meers
30bdf22bc7
Fixed #18799 -- Improved index links for CBV documentation.
...
Thanks anthonyb.
2012-08-20 13:46:36 +10:00
Ramiro Morales
26e0ba07ae
Tweaked SpatiaLite GeoDjango docs.
2012-08-19 22:03:50 -03:00
Tim Graham
3631db88cb
Fixed typo in form wizard docs.
2012-08-19 20:13:09 -04:00
Tim Graham
514a0013cd
Fixed #17180 - Emphasized the need to load the i18n template tag in each template that uses translations. Thanks stefan.freyr for the suggestion and buddylindsey for the draft patch.
2012-08-19 18:46:46 -04:00
Aymeric Augustin
7631fb8f37
Clarified a sentence in the Python 3 docs.
...
Thanks dstufft for the report.
2012-08-19 21:21:53 +02:00
Marc Tamlyn
268fa9631e
Fixed indentation in the Python3 docs
2012-08-19 20:04:52 +02:00
Aymeric Augustin
500fe9c639
[py3] Wrote Django-specific porting tips
...
and extended the existing Python 3 documentation.
2012-08-19 16:30:07 +02:00
Julien Phalip
cccbb6bff3
Made some minor fixes to the GeoDjango installation guide.
2012-08-19 00:57:48 -07:00
Marc Tamlyn
8d5c11caad
Fixed #3542 -- Add support for changing granularity on ArchiveView.
...
Resolving the concept from a very old ticket in a more class-based-view
manner.
2012-08-18 17:03:57 +01:00
Aymeric Augustin
a120fac65a
Introduced force_bytes and force_str.
...
This is consistent with the smart_* series of functions and it's going
to be used by the next commit.
2012-08-18 16:38:49 +02:00
Marc Tamlyn
f04bb6d798
Fixed #17228 -- params context variable is inconsistent
...
Remove the params variable from the context and just put the variables
in directly.
This had not been committed previously as the original pattern was used
in the functional generic views and we wanted consistency between them,
but django.views.generic.simple.direct_to_template is now gone so we can
do it 'right'.
2012-08-18 15:07:21 +01:00
Marc Tamlyn
212b9826bd
Fixed #14516 -- Extract methods from removetags and slugify template filters
...
Patch by @jphalip updated to apply, documentation and release notes
added.
I've documented strip_tags as well as remove_tags as the difference
between the two wouldn't be immediately obvious.
2012-08-18 15:07:21 +01:00
Marc Tamlyn
58683e9c82
Fixed #16744 -- Class based view should have the view object in the context
...
Updated the most recent patch from @claudep to apply again and updated
the documentation location.
2012-08-18 15:07:21 +01:00
Aymeric Augustin
547b181046
[py3] Ported django.utils.safestring.
...
Backwards compatibility aliases were created under Python 2.
2012-08-18 16:04:06 +02:00
Aymeric Augustin
4c1286cf78
[py3] Added compatibility import of thread/_thread
...
This commit fixes the auto-reload of the development server.
I should have done that change in ca07fda2
.
2012-08-18 10:56:56 +02:00
Aymeric Augustin
0d1653395b
Merge pull request #282 from ptone/patch-1
...
Corrected docs on setup of JSONResponseMixin example
2012-08-18 01:30:10 -07:00
Aymeric Augustin
4da1d0fd65
Added a warning about the {% url %} syntax change
...
at the point where it bites most beginners.
Refs #18787 , #18762 , #18756 , #18723 , #18705 , #18689 and several duplicates.
2012-08-18 09:58:42 +02:00
Preston Holmes
e437dd1d6b
Update docs/topics/class-based-views/index.txt
...
View class does not have a render_to_response method - so does not make sense for this mixin
2012-08-17 17:29:46 -07:00
Tim Graham
6086f7356d
Merge pull request #271 from morty/patch-1
...
Fixed doc comment in django.contrib.admin example to match the code
2012-08-17 08:20:43 -07:00
Tim Graham
2a36a1a071
Fixed #18696 - Clarified WizardView heading; thanks sergzach.
2012-08-17 11:06:38 -04:00
Tim Graham
4eaf73d7bc
Merge pull request #261 from issackelly/cbv-full-list
...
Create headings and expand CBV docs so that the "Built-In CBV" docs include a full list.
2012-08-17 07:57:39 -07:00
Tim Graham
b1f18e95a5
Fixed #17183 - Added a note regarding LocaleMiddleware at the top of the i18n docs. Thanks krzysiumed for the patch.
2012-08-16 18:16:19 -04:00
Tim Graham
2079b730f1
Fixed #18223 - Corrected default transaction behavior in postgresql docs.
...
Thanks philipn for the report and mateusgondim for the patch.
2012-08-16 18:15:19 -04:00
Simon Meers
d1d514af04
Marked up a few raw values in the settings documentation.
2012-08-16 10:13:28 +10:00
Piet Delport
e38112d882
Fixed #18759 -- updated SECRET_KEY documentation
...
Document SECRET_KEY becoming required in 1.5.
Also expand the description slightly, and add a more prominent warning
about the security implications of running with an exposed SECRET_KEY.
2012-08-16 09:47:55 +10:00
Tom Mortimer-Jones
383da13785
Fixed comment to match the code
2012-08-15 19:41:16 +02:00
Florian Apolloner
d2975718fe
Consistenly use _ as alias for ugettext_lazy in the i18n docs.
2012-08-13 16:54:13 +02:00
Andrei Antoukh
99321e30ce
Fixed #18306 -- Made deferred models issue update_fields on save
...
Deferred models now automatically update only the fields which are
loaded from the db (with .only() or .defer()). In addition, any field
set manually after the load is updated on save.
2012-08-12 22:39:27 +03:00
Aymeric Augustin
031896c510
[py3] Explained @python_2_unicode_compatible usage
2012-08-12 15:22:33 +02:00
Aymeric Augustin
4e68e86153
[py3] Deprecated StrAndUnicode.
...
This mix-in is superseded by the @python_2_unicode_compatible decorator.
2012-08-12 14:44:41 +02:00
Aymeric Augustin
a0a0203a39
[py3] Added python_2_unicode_compatible decorator.
2012-08-12 14:44:40 +02:00
Florian Apolloner
9e7b5ba50f
Removed missplaced label in the docs.
2012-08-12 12:43:05 +02:00
Martijn Vermaat
140179c770
Fix link to Gunicorn website in deployment howto.
2012-08-12 12:37:55 +02:00
Florian Apolloner
4d9e4c64f1
Fixed #18698 -- Configure latex to support '≥' in the docs.
...
Thanks to simonb for the report and the initial patch.
2012-08-11 21:48:11 +02:00
Issac Kelly
060ac8e711
Create headings and expand CBV docs so that the "Built-In CBV" docs include a complete list.
2012-08-10 23:07:15 -07:00
Tim Graham
cb38fd9632
Fixed #17680 - Clarified when logging is configured.
2012-08-10 17:35:16 -04:00
Tim Graham
eff6ba2f64
Fixed #17016 - Added examples for file uploads in views.
...
Thanks Tim Saylor for the draft patch and Aymeric Augustin and Claude Paroz for feedback.
2012-08-10 16:19:20 -04:00
Tim Graham
7275576235
Clarified thread safety note in class based views; thanks rafadura for the patch.
2012-08-09 18:22:30 -04:00
James Bennett
7731cc8689
Fix #18062 : Document best practices for choices in model fields.
2012-08-08 12:49:28 -04:00
Claude Paroz
576ec12f8e
[py3] Replaced __nonzero__ by __bool__
...
Of course, __nonzero__ alias has been kept for Python 2 compatibility.
2012-08-08 15:02:31 +02:00
James Bennett
50c41e77e8
Put all the security-related notes in the same notice box.
2012-08-07 16:28:12 -04:00
James Bennett
5c3bc25598
And link security policies from documentation index.
2012-08-07 16:26:37 -04:00
James Bennett
483fb75049
Link security policies from internals index.
2012-08-07 16:25:21 -04:00
James Bennett
1ef1bceb3b
Add new security-policy documentation.
...
This formally describes our policies on reporting, notification and
disclosure of security issues, and provides a detailed explanation of
our full security-response process, for reference purposes.
2012-08-07 16:06:34 -04:00
Aymeric Augustin
c5ef65bcf3
[py3] Ported django.utils.encoding.
...
* Renamed smart_unicode to smart_text (but kept the old name under
Python 2 for backwards compatibility).
* Renamed smart_str to smart_bytes.
* Re-introduced smart_str as an alias for smart_text under Python 3
and smart_bytes under Python 2 (which is backwards compatible).
Thus smart_str always returns a str objects.
* Used the new smart_str in a few places where both Python 2 and 3
want a str.
2012-08-07 12:00:22 +02:00
Tim Graham
fa3f0aa021
Merge pull request #252 from MichaelBlume/patch-1
...
Grammar fix in 1.5 release notes.
2012-08-06 18:06:21 -07:00
Michael Blume
c8780d9f4d
change "has now" -> "now has" in 1.5 release notes
...
I believe this is standard.
2012-08-06 14:28:58 -07:00
Tim Graham
4f3a6b853a
Fixed #17053 - Added a note about USE_THOUSAND_SEPARATOR setting to localizations docs.
...
Thanks shelldweller for the draft patch.
2012-08-06 16:15:09 -04:00
Aymeric Augustin
9a3026a920
Fixed a rst error introduced in f2abfe1e
.
2012-08-05 22:53:09 +02:00
Tim Graham
a04f68b15d
Merge pull request #233 from rafikdraoui/modeladmin-doc
...
Updated example of customized ModelAdmin in documentation for 1.4
2012-08-05 10:21:14 -07:00
Julien Phalip
19642a7a09
Fixed some typos on the documentation's index page.
2012-08-04 18:19:25 -07:00
Angeline Tan
5d4f993bb1
Moved a note about django-admin.py errors from Tutorial Part 1 to a new FAQ Troubleshooting page. This is to avoid confusion for beginners.
2012-08-04 17:27:57 -07:00
Julien Phalip
197863523a
Restructured the documentation's index page and added some introductory sentences to each section.
2012-08-04 16:42:33 -07:00
Julien Phalip
9ea4dc90b9
Small improvement to the `contrib.messages` doc introduction.
2012-08-04 15:46:15 -07:00
Florian Apolloner
62ae711cec
Added a missing space to the description of the `cut` filter.
2012-08-04 23:58:31 +02:00
Alex Gaynor
5f9b2be559
Merge pull request #210 from pydanny/ticket_18632
...
Ticket 18632 Cleanup of CBV edit/edit mixin documentation.
2012-08-04 13:16:24 -07:00
Daniel Greenfeld
1fefd91e1e
For #210 , cleaned up text and formatting.
2012-08-04 13:01:40 -07:00
Tim Graham
84c3c9097d
Merge pull request #153 from webjunkie/patch-1
...
Fixed #18110 -- Improve template cache tag documentation
2012-08-04 12:50:42 -07:00
Tim Graham
46589d0c6d
Merge pull request #244 from mbrochh/master
...
Fixed small typo in class based view docs.
2012-08-04 12:29:42 -07:00
Tim Graham
865ff32b84
Fixed #16980 - Misc updates to the auth docs. Thanks Preston Holmes for the patch.
2012-08-04 15:24:40 -04:00
Claude Paroz
542c20b382
Fixed #18713 -- Fixed custom comment app name in comments docs
...
Thanks Pratyush for the report.
2012-08-04 17:38:18 +02:00
Claude Paroz
121fd109de
Fixed #5524 -- Do not remove cleaned_data when a form fails validation
...
cleaned_data is no longer deleted when form validation fails but only
contains the data that did validate.
Thanks to the various contributors to this patch (see ticket).
2012-08-04 14:22:23 +02:00
Simon Meers
10f979fd92
Fixed #18700 -- Added URL reversal for i18n set_language view.
2012-08-04 20:57:12 +10:00
Tim Graham
b496be331c
Fixed #15932 - Documented how to supress multiple reverse relations to the same model.
...
Thanks Claude Paroz for the patch.
2012-08-03 16:27:45 -04:00
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
Aymeric Augustin
5aec69ed29
Documented the trick used in 9908201d7f
.
2012-08-03 15:40:29 +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
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
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
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
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
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
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
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
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
nklas
6006c1f076
Fixed a small typo.
2012-07-25 01:45:56 +07:00
Aymeric Augustin
ebc89a800a
Fixed a broken link in the Python 3 docs.
...
Thanks ptone for the report.
2012-07-22 19:48:10 +02:00
Roman Haritonov
cc65f4ec8d
Documentation: Fix link to uWSGI deployment
2012-07-22 18:54:47 +04:00
Aymeric Augustin
00ace01411
[py3] Documented coding guidelines for Python 3.
2012-07-22 10:29:07 +02:00
Aymeric Augustin
8b01909841
[py3] Bundled six for Python 3 compatibility.
...
Refs #18363 .
2012-07-22 09:29:44 +02:00
Andy Dirnberger
a7928dedc8
Fix typo in staticfiles app documentation
...
In the documentation for the `static` template tag, a `::` was used prior to a `code-block`. Doing so caused the `code-block` line to render as code. Changing the `::` to `:` corrects the display.
2012-07-18 14:34:08 -04:00
Mike Grouchy
a2e927b7ed
BaseCache now has a no-op close method as per ticket #18582
...
Also removed the hasattr check when firing request_finished signal for
caches with a 'close' method. Should be safe to call `cache.close`
everywhere now
2012-07-18 14:16:55 -04:00
Alex Gaynor
6d0dbd88f6
Update my bio.
2012-07-18 08:04:29 -07:00
Jannis Leidel
810fd236fa
Updated my bio.
2012-07-18 14:19:06 +02:00
Florian Apolloner
adad6c3afe
Added myself to internals/committers.txt.
2012-07-18 13:45:42 +02:00
Alex Gaynor
110c729309
Merge pull request #215 from mgrouchy/add-interpreter-options
...
Adds interpreter option to shell command as per ticket #18639
2012-07-17 11:04:59 -07:00
Mike Grouchy
f2abfe1e48
Adds interpreter option to shell command as per ticket #18639
...
Specify python interpreter interface ipython or bpython with the -i,
--interface options
argument.
ex// python manage.py shell -i bpython
ex// python manage.py shell --interface bpython
Like all other options, defaults to default python interpreter when your
selected choice isn't available.
updated documentation where appropriate
2012-07-17 13:45:35 -04:00
Anssi Kääriäinen
29132ebdef
Fixed #17788 -- Added batch_size argument to qs.bulk_create()
...
The qs.bulk_create() method did not work with large batches together
with SQLite3. This commit adds a way to split the bulk into smaller
batches. The default batch size is unlimited except for SQLite3 where
the batch size is limited to 999 SQL parameters per batch.
Thanks to everybody who participated in the discussions at Trac.
2012-07-17 15:24:41 +03:00
Anssi Kääriäinen
aeda55e6bf
Fixed #3881 -- skip saving session when response status is 500
...
Saving session data is somewhat likely to lead into error when the
status code is 500. It is guaranteed to lead into error if the reason
for the 500 code is query error on PostgreSQL.
2012-07-16 20:57:55 +03:00
Daniel Greenfeld
b90caf014c
Changed myapps.models.py to myapps/models.py
2012-07-15 19:29:19 -07:00
Daniel Greenfeld
dea554bd9d
Added mention in MRO section about method/attribute inheritence. Added simple examples to Generic editing views, added index to Generic editing views and Editing mixins, added missing template_name_suffix attribute to Generic editing views.
2012-07-15 17:30:39 -07:00
Claude Paroz
cdcdd131da
Dropped support for GDAL < 1.5
...
GDAL 1.5 has been released in December 2007.
2012-07-15 21:10:32 +02:00
Aymeric Augustin
bf9d5eff4c
Fixed #18626 -- rst syntax collision.
2012-07-15 11:25:13 +02:00
Aymeric Augustin
fb46f243b4
Fixed #18625 -- Removed old-style use of url tag
...
from the documentation.
2012-07-15 11:19:50 +02:00
Alex Gaynor
8b3c2f2c51
Deprecate two methods (which I seriously doubt anyone ever used, but they were documented so...) because they cannot be implemented efficiently on top of collections.SortedDict in Python 2.7 and up.
2012-07-14 16:08:42 -07:00
Aymeric Augustin
c13a98968e
Fixed a misplaced Sphinx reference.
2012-07-14 12:32:39 +02:00
Claude Paroz
b6215f6810
Updated links for MacOSX python installers
2012-07-13 17:49:50 +02:00
Preston Holmes
18b9dc4154
Fixed #18601 -- Specified that Python minimum version is 2.6.5
...
This is due to a bug in previous Python 2.6 versions related to
unicode keyword arguments.
2012-07-13 17:33:13 +02:00
Aymeric Augustin
8c670ee347
Fixed #18617 -- Highlighted that the app_directories template loader depends on the order of INSTALLED_APPS.
...
Thanks evildmp for the patch.
2012-07-12 23:02:58 +02:00
Claude Paroz
e806f047f3
Removed old gis install instructions for obsolete distros
2012-07-12 19:44:15 +02:00
Adrian Holovaty
c9a1f9d1fc
Merge pull request #197 from StefanKjartansson/master
...
Fixed typo in docs
2012-07-11 15:05:48 -07:00
mitnk
fe443b11de
fixed a typo in timezones docs.
2012-07-11 10:57:26 +08:00
Stefan Kjartansson
5664338e22
typo in "django/docs/topics/python3.txt"
2012-07-10 15:27:50 +00:00
Tim Graham
590de18add
Fixed #18577 - Clarified middleware initialization.
...
Thanks Lukasz Balcerzak for the patch.
2012-07-08 19:26:53 -04:00
Tim Graham
d44aa98184
Fixed #18173 - Corrected ModelAdmin documentation for get_changelist.
...
Thanks Keryn Knight for the report and vanessagomes for the patch.
2012-07-08 18:35:17 -04:00
Aymeric Augustin
5e94ef293c
Fixed #18374 -- Explained "corrupt image" error
...
Thanks fabian and charettes.
2012-07-08 11:53:45 +02:00
Claude Paroz
249c445446
Fixed #18164 -- Precised startapp template context content
2012-07-07 23:08:43 +02:00
Aymeric Augustin
d94cfdcfae
Fixed #18589 -- Typo in generic CBV docs.
...
Thanks cpthomas for the report.
2012-07-07 17:42:04 +02:00
Aymeric Augustin
bbc590697a
Removed Django 1.0-specific sections.
2012-07-07 16:44:55 +02:00
Aymeric Augustin
29ca3d3c4b
Fixed #18587 -- Typo in management command example
...
Thanks Frank Wiles.
2012-07-07 16:00:03 +02:00
Jannis Leidel
0a68a2994b
Fixed #18254 -- Added ability to the static template tags to store the result in a contextt variable. Many thanks to Andrei Antoukh for the initial patch.
2012-07-07 15:30:25 +02:00
Adrian Holovaty
70ac570157
Merge pull request #183 from rpedigoni/master
...
Fixed typo in 1.5 release notes
2012-07-06 12:45:05 -07:00
Adrian Holovaty
4e8084a4cb
Merge pull request #187 from evildmp/docs_typos
...
Added a missing \ in uwsgi docs. Thanks, evildmp.
2012-07-06 12:44:34 -07:00
Claude Paroz
4c417cc9eb
Fixed #18576 -- Added missing import in tutorial02
...
Thanks jaaruiz at yahoo.com for the report.
2012-07-06 13:58:49 +02:00
Daniele Procida
83da36ebfb
restored a missing \ in uwsgi docs
2012-07-06 10:10:27 +01:00
Tim Graham
e4a1407a9c
Fixed #17997 - Documented that the debug server is now multithreaded by default.
...
Thanks trey.smith@ for the report and vanessagomes for the patch.
2012-07-05 08:39:05 -04:00
Renato Pedigoni
3caf53524c
fixed typo
2012-07-04 18:34:55 -03:00
Luke Plant
bee498f3a2
Added 'format_html' utility for formatting HTML fragments safely
2012-07-03 22:20:12 +01:00
Luke Plant
f33e150369
Documented utils.html.escape and conditional_escape
2012-07-03 22:20:12 +01:00
Claude Paroz
784d0c261c
Replaced 'return' by 'raise' in custom model field docs
...
Thanks Simon Charette for noticing it. Refs #11162 .
2012-07-02 10:16:42 +02:00
Tim Graham
7313468f85
Fixed #17436 - Added warning about overriding Model.__init__()
...
Thanks zsiciarz for the draft patch.
2012-07-01 18:04:16 -04:00
Anssi Kääriäinen
f572ee0c65
Fixed #16047 -- Restore autocommit state correctly on psycopg2
...
When the postgresql_psycopg2 backend was used with DB-level autocommit
mode enabled, after entering transaction management and then leaving
it, the isolation level was never set back to autocommit mode.
Thanks brodie for report and working on this issue.
2012-07-01 19:36:43 +03:00
Tim Graham
9974069620
Fixed #16882 - Clarified why one should not use 'init_command' after initial database creation.
2012-07-01 07:25:24 -04:00
Tim Graham
c68f4c514c
Fixed #18493 - Added instructions to locate the Django source files to the t
...
Thanks Claude Paroz for the draft patch.
2012-07-01 06:55:46 -04:00
Tim Graham
c5fb8299ef
Fixed #17705 - Updated TabularInline image and doc in tutorial 2.
...
Thanks xbito for the draft patch.
2012-06-30 18:20:34 -04:00
Raúl Cumplido
55ffcf8e7b
Fixed #18145 -- Improved documentation of unique_together type fields
2012-06-30 17:16:40 -04:00
Claude Paroz
03896eb5df
Fixed #17026 -- Improved wording of contrib.messages' storage backends section
2012-06-30 22:21:23 +02:00
Claude Paroz
da200c5e35
Fixed #16519 -- Deprecated mimetype kwarg of HttpResponse __init__
...
This keyword was already deprecated in the code (supported for
backwards compatibility only), but never formally deprecated.
Thanks Paul McMillan for the report and yasar11732 for the initial
patch.
2012-06-30 21:27:47 +02:00
Claude Paroz
c446bdee84
Fixed #17024 -- Added import statements in tutorial code sample
2012-06-30 20:52:49 +02:00
Tim Graham
5d81ad1af1
Fixed #17168 - Noted TransactionMiddleware only works with "default" database alias.
...
Thanks codeinthehole for the draft patch.
2012-06-30 10:25:51 -04:00
Claude Paroz
db87016b1a
Fixed #12493 -- Deprecated auto-correction of TEMPLATE_DIRS
2012-06-30 15:06:42 +02:00
Claude Paroz
596e15293c
Fixed #11162 -- Mentioned ValidationError in custom model field docs
2012-06-30 14:30:32 +02:00
Claude Paroz
b9ecbedb31
Fixed #18528 -- Fixed custom field value_to_string example
...
Thanks anuraguniyal for the report.
2012-06-29 15:10:41 +02:00
Aymeric Augustin
54b1519dfd
Fixed a formatting issue in the CBV docs.
2012-06-28 17:18:50 +02:00
Claude Paroz
4f53e77f07
Fixed #18306 -- Removed most of GeoDjango-specific deployment docs
2012-06-28 13:42:36 +02:00
Claude Paroz
8a5d1a6b93
Updated obsolete links in the documentation
2012-06-28 10:49:07 +02:00
Tim Graham
c8928b91b5
Fixed #17511 - Removed reference to deprecated "reset" management command in FAQ; thanks voxpuibr@ for the report.
2012-06-27 18:54:42 -04:00
Tim Graham
1cf8287e3a
Fixed #18369 - Fixed argument name in render() function; thanks qsolo825@ for the report.
2012-06-27 17:40:29 -04:00
Claude Paroz
ada961b0d2
Fixed #18527 -- Removed superfluous backslash in CBV docs
...
Thanks ramilzay at gmail.com for the report.
2012-06-27 18:13:14 +02:00
Anssi Kääriäinen
b6c356b7bb
Fixed #17485 -- Made defer work with select_related
...
This commit tackles a couple of issues. First, in certain cases there
were some mixups if field.attname or field.name should be deferred.
Field.attname is now always used.
Another issue tackled is a case where field is both deferred by
.only(), and selected by select_related. This case is now an error.
A lot of thanks to koniiiik (Michal Petrucha) for the patch, and
to Andrei Antoukh for review.
2012-06-26 18:08:42 +03:00
Gabriel Grant
d69f1d71c4
Fixed typo in JSONResponseMixin example.
2012-06-25 08:48:32 +02:00
Claude Paroz
19a810b18c
Fixed #14917 -- Hinted that view should redirect after form post success
2012-06-23 18:47:52 +02:00
Dmitry Medvinsky
d4da08375b
Fixed #18454 -- Added ability to pass a list of signals to `receiver`.
...
Added ability to use receiver decorator in the following way:
@receiver([post_save, post_delete], sender=MyModel)
def signals_receiver(sender, **kwargs):
...
2012-06-23 16:31:16 +02:00
Bojan Mihelac
946d3d9f84
Fixed url translation docs.
...
``include`` calls shouldn't have a $ sign at the end of the url pattern.
2012-06-23 16:14:56 +02:00
jnns
c864b36ba1
Updated TEMPLATE_CONTEXT_PROCESSORS defaults in the docs.
...
django.core.context_processors.tz was missing from default
TEMPLATE_CONTEXT_PROCESSORS in the template api documentation.
2012-06-23 16:02:15 +02:00
Alex Gaynor
ea9536b17f
Note that Jython has an alpha with 2.7 support.
2012-06-22 19:00:40 -07:00
Florian Apolloner
7f225880e4
Corrected the `instance_dict` description for form wizards.
2012-06-22 15:46:49 +02:00
Tim Saylor
f8ef93a657
Fixed a documentation typo on the widget page.
2012-06-19 10:37:53 +02:00
Chris Beaven
c57ba67331
Fixed #14502 again -- saner verbatim closing token
...
Previously, the closing token for the verbatim tag was specified as the
first argument of the opening token. As pointed out by Jannis, this is
a rather major departure from the core tag standard.
The new method reflects how you can give a specific closing name to
{% block %} tags.
2012-06-19 10:49:33 +12:00
Gabe Jackson
ffa6d95f65
Fixed #18154 -- Documentation on closing File objects and best practices
2012-06-19 09:56:10 +12:00
Daniel Hepper
aee9eecb92
Fixed #18444 -- Replace hard coded "View on Site" URLs
2012-06-18 18:12:29 +02:00
Julien Phalip
79ef3901da
Fixed the path to the admin's compress.py script in the doc.
2012-06-16 16:23:03 -07:00
Julian Bez
3c0877938f
Fixed #18110 -- Improve template cache tag documentation
2012-06-14 17:42:55 +03:00
Jannis Leidel
c4c7fbcc0d
Fixed #18451 -- Vastly improved class based view documentation.
...
Many thanks to Daniel Greenfeld, James Aylett, Marc Tamlyn, Simon Williams, Danilo Bargen and Luke Plant for their work on this.
2012-06-11 10:40:23 +02:00
Claude Paroz
b0d8085c67
Added note about including fixtures hashing algorithm
...
Refs #18157 .
2012-06-09 21:14:13 +02:00
Claude Paroz
17d6cd9029
Fixed #18157 -- Documented that setting PASSWORD_HASHERS can speed up tests
2012-06-09 20:41:46 +02:00
Claude Paroz
514e827022
Fixed pagination example wrt new next_page_number behavior
2012-06-09 18:07:30 +02:00
Claude Paroz
fc40a6504b
Fixed #17159 -- Validated returned number of next|previous_page_number
...
Thanks mehta.apurva at gmail.com for the report and the initial patch
and neaf for the complete patch.
2012-06-09 17:55:24 +02:00
Anssi Kääriäinen
a035d9d650
Cleaned whitespace errors introduced in previous commit
2012-06-08 23:52:43 +03:00
Simon Charette
b6d533af4d
Fixed #18399 – Added a way to get ContentTypes for proxy models
...
Added kwargs for_concrete_model and for_concrete_models to ContentType
methods get_for_model() and get_for_models(). By setting the flag to
False, it is possible to get the contenttype for proxy models.
2012-06-08 23:07:58 +03:00
Adrian Holovaty
c63c62a18a
Fixed #18440 -- Pointed out that ReportLab is not thread safe. Thanks, jens@lundstroem.com
2012-06-08 11:46:45 -05:00
Anssi Kääriäinen
18aed863b4
Added myself to committers
2012-06-08 15:22:58 +03:00
Aymeric Augustin
7ae66517c1
Fixed an error in a git command.
2012-06-08 12:14:01 +02:00
Audrey Roy
7ab6e32843
Revised the text in the 'Processing the data from a form' section.
2012-06-08 12:13:52 +02:00
Audrey Roy
3c05b500a5
Revised the text in the 'Using a form in a view' section.
2012-06-08 12:03:52 +02:00
Aymeric Augustin
d2ad3b0f96
Clarified the purpose of the pull requsets docs
...
One is for the community, the other for the core team.
Thanks Reinout van Rees for the report.
2012-06-08 11:53:54 +02:00
Aymeric Augustin
1f203f84d0
Explained an alternative way to fetch a branch.
...
This avoids adding each contributor as a remote.
Thanks Fruneau for the report.
2012-06-08 11:40:33 +02:00
Aymeric Augustin
329bb9296f
Proof-read the new contributing guide.
...
Many thanks to Daniele Procida.
2012-06-08 11:26:22 +02:00
Aymeric Augustin
06ea10e1f1
Fixed #18125 -- Explained caveat with filters
...
Thanks ebrelsford AT gmail.com and oinopion.
2012-06-08 10:25:42 +02:00
Luke Plant
f269f30544
Small corrections to committing-code docs
2012-06-08 00:02:52 +01:00
Aymeric Augustin
33999d9871
Fixed #18445 -- Added a links in the docs.
...
Thanks Audrey Roy for the patch.
2012-06-07 22:11:24 +02:00
Aymeric Augustin
6a66fc08b3
Fixed #17933 -- Added a missing label to the docs.
2012-06-07 19:47:32 +02:00
Aymeric Augustin
90fb6a4648
Fixed #18436 -- Updated contributing docs for git.
...
Most of the credit for this large patch goes to Anssi Kääriäinen.
Many thanks to all the people who contributed to the discussion.
2012-06-07 18:54:43 +02:00
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
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
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