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
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
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
Aymeric Augustin
4464bbba15
Fixed #14502 -- Added a verbatim template tag.
...
Thanks SmileyChris for the patch.
2012-06-07 09:59:14 +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
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
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
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
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
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
Daniel Roseman
5c59e43aef
Use render shortcut in form example.
2012-05-31 15:33:45 +01:00
Claude Paroz
f2b6763ad7
Fixed #18387 -- Do not call sys.exit during call_command.
...
Moved sys.exit(1) so as failing management commands reach it
only when running from command line.
2012-05-27 20:38:47 +02:00
Claude Paroz
fb871f66a8
Added entry in 1.5 release notes about dumpdata improvements.
2012-05-26 16:15:45 +02:00
Claude Paroz
45284a90a5
Fixed #17929 -- Improved tutorial wording and capitalization.
...
Thanks rmattb for the report and the patch.
2012-05-25 21:49:47 +02:00
Aymeric Augustin
e73838b6dd
Fixed #17371 -- Made the test client more flexible
...
The OPTIONS, PUT and DELETE methods no longer apply arbitrary
data encoding (in the query string or in the request body).
2012-05-25 19:03:15 +02:00
Aymeric Augustin
1e6c3368f2
Fixed #18177 -- Cached known related instances.
...
This was recently fixed for one-to-one relations; this patch adds
support for foreign keys. Thanks kaiser.yann for the report and
the initial version of the patch.
2012-05-24 13:25:01 +02:00
Aymeric Augustin
3b2993ed04
Fixed #18353 -- Inconsistency in date-based CBVs.
2012-05-24 13:02:19 +02:00
Claude Paroz
6219591f2e
Fixed #18244 -- Documented that formset.has_changed is a 1.4 addition.
2012-05-22 13:56:03 +02:00
Claude Paroz
115d522c84
Fixed #18167 -- Gave advice on checking Django version in the tutorial.
...
Thanks smuss for the initial patch.
2012-05-22 13:43:58 +02:00
Claude Paroz
cafa5bf4f4
Replaced print statement by print function in new install instructions.
2012-05-22 13:22:45 +02:00
Carl Meyer
6ed7d40727
Fixed #18115 - added warning about overlaid install.
...
Setup.py now warns if it detects that Django is being installed over top
of a previous installation that was never removed. This should only
happen when installing with ``python setup.py install``, as pip
automatically uninstalls before installing a new version and
easy_install installs as an egg directory.
Also generally updated the installation doc.
2012-05-21 17:28:58 -06:00
Aymeric Augustin
b0c1e5c081
Documented next/previous_week. Refs #10890 .
2012-05-20 11:58:00 +02:00
Aymeric Augustin
4b58e94f27
Followed a best practice in the time zones docs.
...
Prevented localize from swallowing non existent or ambiguous
datetimes.
2012-05-19 23:33:38 +02:00
Claude Paroz
38408f8007
Marked bytestrings with b prefix. Refs #18269
...
This is a preparation for unicode literals general usage in
Django (Python 3 compatibility).
2012-05-19 17:43:34 +02:00
Claude Paroz
822d6d6dab
Fixed #18325 -- Wrapped self.stdout/stderr in OutputWrapper class
2012-05-19 13:51:54 +02:00
Glen Robertson
9a7261f688
Fixed typo on GeoQuerySet.geohash method.
2012-05-18 14:56:40 -07:00
Stratos Moros
5d80d30a23
remove mention of djangoproject.com from cbv topic
...
The class based views topic mentions that the djangoproject.com weblog
is built using the date-based generic views, but looking at the code,
it actually uses the deprecated pre-1.3 function based generic views.
2012-05-18 13:25:15 +03:00
Jeremy Cowgar
c23d306df8
Added load i18n code to the base wizard form template documentation as it uses the trans tag.
2012-05-17 18:53:57 -04:00
Aymeric Augustin
82a76ef67d
Mentioned the previous commit in the release notes
2012-05-17 14:03:19 +02:00
Adrian Holovaty
aa757ac22d
Merge pull request #43 from techtonik/patch-1
...
Fixed #18267 -- document `settings.configured` property.
2012-05-16 08:12:48 -07:00