summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2012-08-19[py3] Wrote Django-specific porting tipsAymeric Augustin
and extended the existing Python 3 documentation.
2012-08-18[py3] Added compatibility import of thread/_threadAymeric Augustin
This commit fixes the auto-reload of the development server. I should have done that change in ca07fda2.
2012-08-17Update docs/topics/class-based-views/index.txtPreston Holmes
View class does not have a render_to_response method - so does not make sense for this mixin
2012-08-16Fixed #17183 - Added a note regarding LocaleMiddleware at the top of the ↵Tim Graham
i18n docs. Thanks krzysiumed for the patch.
2012-08-13Consistenly use _ as alias for ugettext_lazy in the i18n docs.Florian Apolloner
2012-08-12[py3] Explained @python_2_unicode_compatible usageAymeric Augustin
2012-08-10Fixed #17680 - Clarified when logging is configured.Tim Graham
2012-08-10Fixed #17016 - Added examples for file uploads in views.Tim Graham
Thanks Tim Saylor for the draft patch and Aymeric Augustin and Claude Paroz for feedback.
2012-08-08[py3] Replaced __nonzero__ by __bool__Claude Paroz
Of course, __nonzero__ alias has been kept for Python 2 compatibility.
2012-08-07[py3] Ported django.utils.encoding.Aymeric Augustin
* 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-06Fixed #17053 - Added a note about USE_THOUSAND_SEPARATOR setting to ↵Tim Graham
localizations docs. Thanks shelldweller for the draft patch.
2012-08-04Merge pull request #153 from webjunkie/patch-1Tim Graham
Fixed #18110 -- Improve template cache tag documentation
2012-08-04Merge pull request #244 from mbrochh/masterTim Graham
Fixed small typo in class based view docs.
2012-08-04Fixed #16980 - Misc updates to the auth docs. Thanks Preston Holmes for the ↵Tim Graham
patch.
2012-08-04Fixed #18700 -- Added URL reversal for i18n set_language view.Simon Meers
2012-08-03Documented the trick used in 9908201d7f.Aymeric Augustin
2012-08-02Update docs/topics/class-based-views/index.txtMartin Brochhaus
Fixed a small typo: "We can use create" should be "We can create"
2012-08-02Fixed #18472 - Added warning regarding set_language / i18n_patterns.Simon Meers
2012-08-01Fixed #16168 - Added note regarding type requirements when overridng ↵Tim Graham
ModelForm fields. Thanks Pieter Swinkels for the patch.
2012-07-31Fixed #18122 - Clarified section title regarding applying permissions to ↵Tim Graham
generic views.
2012-07-30Fixed #17131 - Added per object permission notes to docs.Tim Graham
Thanks dchandek for the suggestion and mateusgondim for the patch.
2012-07-25[py3] Updated dict-like data structures for Python 3.Aymeric Augustin
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-25Fixed #18614 -- Added missing imports in code samples.Florian Apolloner
2012-07-25Merge pull request #224 from reclosedev/patch-1Florian Apolloner
Documentation: Fix link to uWSGI deployment
2012-07-25Merge pull request #228 from nklas/masterAlex Gaynor
Documentation: Fixed a typo in docs/releases/1.4.txt
2012-07-25Update docs/topics/signals.txtnklas
Fixed a typo.
2012-07-24Clarified default name of M2M relationship DB table.Ramiro Morales
2012-07-24Fixed #18271 -- Changed stage at which TransactionTestCase flushes DB tables.Ramiro Morales
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-22Fixed a broken link in the Python 3 docs.Aymeric Augustin
Thanks ptone for the report.
2012-07-22Documentation: Fix link to uWSGI deploymentRoman Haritonov
2012-07-22[py3] Documented coding guidelines for Python 3.Aymeric Augustin
2012-07-22[py3] Bundled six for Python 3 compatibility.Aymeric Augustin
Refs #18363.
2012-07-18BaseCache now has a no-op close method as per ticket #18582Mike Grouchy
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-16Fixed #3881 -- skip saving session when response status is 500Anssi Kääriäinen
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-15Fixed #18625 -- Removed old-style use of url tagAymeric Augustin
from the documentation.
2012-07-14Fixed a misplaced Sphinx reference.Aymeric Augustin
2012-07-13Fixed #18601 -- Specified that Python minimum version is 2.6.5Preston Holmes
This is due to a bug in previous Python 2.6 versions related to unicode keyword arguments.
2012-07-11Merge pull request #197 from StefanKjartansson/masterAdrian Holovaty
Fixed typo in docs
2012-07-11fixed a typo in timezones docs.mitnk
2012-07-10typo in "django/docs/topics/python3.txt"Stefan Kjartansson
2012-07-08Fixed #18577 - Clarified middleware initialization.Tim Graham
Thanks Lukasz Balcerzak for the patch.
2012-07-07Fixed #18589 -- Typo in generic CBV docs.Aymeric Augustin
Thanks cpthomas for the report.
2012-06-30Fixed #17168 - Noted TransactionMiddleware only works with "default" ↵Tim Graham
database alias. Thanks codeinthehole for the draft patch.
2012-06-28Updated obsolete links in the documentationClaude Paroz
2012-06-27Fixed #18369 - Fixed argument name in render() function; thanks qsolo825@ ↵Tim Graham
for the report.
2012-06-27Fixed #18527 -- Removed superfluous backslash in CBV docsClaude Paroz
Thanks ramilzay at gmail.com for the report.
2012-06-25Fixed typo in JSONResponseMixin example.Gabriel Grant
2012-06-23Fixed #14917 -- Hinted that view should redirect after form post successClaude Paroz
2012-06-23Fixed #18454 -- Added ability to pass a list of signals to `receiver`.Dmitry Medvinsky
Added ability to use receiver decorator in the following way: @receiver([post_save, post_delete], sender=MyModel) def signals_receiver(sender, **kwargs): ...
2012-06-23Fixed url translation docs.Bojan Mihelac
``include`` calls shouldn't have a $ sign at the end of the url pattern.