Aymeric Augustin
2bba0d275b
Improved resource limits handling in the kqueue autoreloader.
...
Refs #21356 . Thanks Loïc.
2013-11-01 10:31:01 +01:00
Ole Laursen
f4f01fb03c
Fixed #18508 -- tests for repeated deletion bug in ModelFormSet
...
The ticket's issue was already fixed by patch for #14877 .
2013-10-31 19:39:10 +02:00
Claude Paroz
c64efe3734
Fixed #15529 -- More permissive geojson syntax in constructor
...
Thanks Wouter Klein Heerenbrink for the report.
2013-10-31 18:15:54 +01:00
Claude Paroz
0d9c149990
Fixed #21339 -- Documented removal of some form field error messages
2013-10-31 17:52:06 +01:00
Alex Gaynor
726ded5708
Started attackign the next flake8 violation
2013-10-31 08:42:28 -07:00
Aymeric Augustin
a023a84c06
Merge pull request #1830 from aaugustin/instant-reload-os-x
...
Add instant autoreload on platforms supporting kqueue.
Fix #21356 .
2013-10-31 02:21:56 -07:00
Aymeric Augustin
47217f2f29
Reduce the set of events that trigger a reload.
...
This seems to avoid multiple reloads.
2013-10-31 10:15:42 +01:00
Aymeric Augustin
8f09ec61f8
Add instant autoreload on platforms supporting kqueue.
2013-10-30 23:08:12 +01:00
Anssi Kääriäinen
ed516a5fc8
Merge pull request #1829 from akaariai/ticket_14877
...
Fixed #14877 -- repeated deletion using formsets
Reviewed by Loic Bistuer
2013-10-30 14:16:27 -07:00
Anssi Kääriäinen
efb0100ee6
Fixed #14877 -- repeated deletion using formsets
...
When a formset contained deletion for an existing instance, and the
instance was already deleted, django threw an exception. A common cause for
this was resubmit of the formset.
Original patch by Trac alias olau.
In addition this commit cleaned some code in _construct_form(). This
was needed as the primary key value the user submitted wasn't converted
correctly to python value in case the primary key field was also a
related field.
2013-10-30 22:40:15 +02:00
Alex Gaynor
8faaf03b86
Fixed some flake8 issues
2013-10-30 10:42:35 -07:00
Unai Zalakain
15f82c7011
Fixed #9722 - used pyinotify as change detection system when available
...
Used pyinotify (when available) to replace the "pool-every-one-second"
mechanism in `django.utils.autoreload`.
Thanks Chris Lamb and Pascal Hartig for work on the patch.
2013-10-30 11:45:43 -04:00
Andrew Godwin
e9cb333bc3
Auto-apply initial migrations if their tables exist already.
2013-10-30 15:17:49 +00:00
Tim Graham
eafe279120
Fixed #21306 -- Documented lower-casing behavior of title filter.
2013-10-30 09:33:28 -04:00
Tim Graham
51e6575472
Fixed #21294 -- Clarified the logout next_page argument.
...
Thanks wim at go2people.nl for the report.
2013-10-30 09:25:21 -04:00
Tim Graham
0b1d425a41
Fixed #21347 -- Added missing JS variable declaration.
...
Thanks szymon.barglowski at gmail.com for the report.
2013-10-30 09:12:27 -04:00
Baptiste Mispelon
9fde42a69a
Fixed #20610 : Added a message level dict to contrib.message context processor.
2013-10-30 13:54:07 +01:00
Antoine Catton
e9a356a695
Documented the limitation on sep argument to Signer
...
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>
2013-10-30 08:26:33 -04:00
Tim Graham
1edef50880
Fixed #21316 -- Documented that modifying safe strings makes them unsafe.
...
Thanks dev@simon.net.nz for the suggestion and vijay_shanker for the patch.
2013-10-30 08:11:31 -04:00
Tim Graham
b47a052eb5
Documented removal of django.core.servers.basehttp.WSGIServerException
...
refs 2ca00faa91
2013-10-30 07:46:07 -04:00
Baptiste Mispelon
5733764a2c
Added some more tests for the debug page.
...
* Missing tests for ticket #12744
* Tests for the cleanse_setting feature (leaving out sensitive
settings from the debug page)
2013-10-30 07:55:07 +01:00
Baptiste Mispelon
3c5cdaf47a
Fixed #21345 : Don't evaluate callable settings in the debug page.
...
Thanks to crass for the report.
2013-10-30 07:53:20 +01:00
Simon Charette
8f73559823
Fixed a F811 warning introduced by 35db9d58d6
.
2013-10-29 17:22:45 -04:00
Unai Zalakain
fd219fa24c
Fixed #8261 -- ModelAdmin hook for customising the "show on site" button
...
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the
admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is
used to get the url. If it's a callable, the callable is called with the object
as the only parameter. If ``False``, not link is displayed.
With the aim of maitaining backwards compatibility, ``True`` is the default.
2013-10-29 17:10:12 -04:00
Baptiste Mispelon
497930b7f6
Use `callable` instead of `six.callable`.
...
The `callable` builtin was added back in python 3.2
which is the minimal python3 version supported by django
at this point.
2013-10-29 21:53:51 +01:00
Alex Gaynor
6b560b50b9
Mark this as a python code-block
2013-10-29 07:26:06 -07:00
Tim Graham
ffcfb4cdcc
Fixed #21344 -- Typo in docs/ref/models/queries.txt
2013-10-28 14:52:26 -04:00
Claude Paroz
0336d0d95e
Rearranged some i18n tests
...
Compilation/extraction tests are now properly skipped when gettext
commands are unavailable.
2013-10-28 14:17:48 +01:00
Claude Paroz
35db9d58d6
Rearranged some file-related tests
...
Just moving around some tests to be more logically grouped.
2013-10-27 21:28:08 +01:00
Ramiro Morales
88f03db05f
Fixed test that reads a migration file from disk.
...
We need to make sure content read from the file is decoded from UTF-8
right from the start so Python doesn't try to use another encoding
(read: ASCII/CP1252 under Windows.)
2013-10-27 14:54:56 -03:00
Alex Gaynor
78bc96caf5
Merge pull request #1818 from ericholscher/small-doc-fix
...
Fix note syntax usage.
2013-10-27 08:09:50 -07:00
Eric Holscher
32f0f8489a
Fix note syntax usage.
...
http://sphinx.readthedocs.org/en/latest/markup/para.html?highlight=note#directive-note
2013-10-27 08:06:36 -07:00
Alex Gaynor
b9a90b371c
Remove dsome import *
2013-10-26 20:57:08 -07:00
Alex Gaynor
b35ff0d920
Fixed all the E203 violations
2013-10-26 18:27:42 -07:00
Andrey Antukh
3351e94ffa
Fixed #21335 -- Use importlib from python3 when using python3
2013-10-26 22:53:12 +02:00
Alex Gaynor
9d740eb8b1
Fix all violators of E231
2013-10-26 12:15:03 -07:00
Alex Gaynor
f2d8027c9a
Fixed up some more flake8 violations (this particular violation still has many occurrences in the tests/ dir so it can't be removed from setup.cfg yet)
2013-10-26 10:50:40 -07:00
Tim Graham
cc2049cdd7
Fixed #21325 -- Added missing argument to permission_required decorator.
2013-10-25 17:36:07 -04:00
Paolo Melchiorre
3b0293370a
Fixed typo in docs/releases/1.4.9.txt.
2013-10-25 07:55:05 -04:00
Claude Paroz
3afde36d03
Undelete the login() call inadvertantly removed in 4e0a2fe59c
...
Refs #21271 .
2013-10-25 11:23:19 +02:00
Tim Graham
43cfc652d2
Fixed doc typo in previous commit.
2013-10-24 21:25:51 -04:00
SusanTan
4e0a2fe59c
Fixed #21271 -- Added timeout parameter to SMTP EmailBackend.
...
Thanks Tobias McNulty and Tim Graham for discussions and code review.
Thanks Andre Cruz the suggestion and initial patch.
2013-10-24 20:38:00 -04:00
Vajrasky Kok
9eecb91695
Fixed #21219 -- Added a way to set different permission for static files.
...
Previously, when collecting static files, the files would receive permission
from FILE_UPLOAD_PERMISSIONS. Now, there's an option to give different
permission from uploaded files permission by subclassing any of the static
files storage classes and setting the file_permissions_mode parameter.
Thanks dblack at atlassian.com for the suggestion.
2013-10-24 17:40:01 -04:00
Claude Paroz
c052699be3
Fixed #20338 -- Stripped ending dot during host validation
...
Thanks manfre for the report and Timo Graham for the review.
2013-10-24 21:24:04 +02:00
Kevin Christopher Henry
08c9ab5a0f
Fixed #21227 -- Added workaround for selenium test failures
...
Added a refresh() before quit() in the selenium tests, since this
solves the problem of spurious test failures in some environments.
2013-10-24 15:07:41 -04:00
Renato Oliveira
43569647ab
Fixed #21299 - Changed filters from title to capfirst on admin inline formsets.
...
Previously there was a mixture of the two which resulted in inconsistent
casing.
2013-10-24 14:44:07 -04:00
Alex Gaynor
9bf5610890
Start attacking E231 violations
2013-10-24 10:30:03 -07:00
Tim Graham
382d324ccc
Added missing newline in docstring; refs #20945 .
2013-10-24 10:33:11 -04:00
Curtis Maloney
8688f03eef
Fixed #20945 -- Allowed cache tag to use a specific cache.
2013-10-23 19:27:08 -04:00
Tim Graham
4ce5c119b5
Bumped release date for 1.5.5 & 1.4.9.
2013-10-23 18:28:41 -04:00