Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django
Commit message (Collapse)AuthorAgeFilesLines
...
* | Rotate CSRF token on loginAndrew Godwin2013-05-243-1/+49
| |
* | Fixed a regression in router initializationClaude Paroz2013-05-241-2/+3
| | | | | | | | | | Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the report.
* | Optimisation in prefetch_related_objectsLuke Plant2013-05-241-25/+22
| |
* | Fixed #19607 - prefetch_related crashLuke Plant2013-05-241-2/+7
| | | | | | | | Thanks to av@rdf.ru and flarno11@yahoo.de for the report.
* | Fixed #17648 -- Add `for_concrete_model` to ↵Gavin Wahl2013-05-241-10/+22
| | | | | | | | | | | | | | | | | | | | | | `GenericForeignKey`. Allows a `GenericForeignKey` to reference proxy models. The default for `for_concrete_model` is `True` to keep backwards compatibility. Also added the analog `for_concrete_model` kwarg to `generic_inlineformset_factory` to provide an API at the form level.
* | Delayed settings.DATABASE_ROUTERS usage by ConnectionRouterClaude Paroz2013-05-232-6/+14
| | | | | | | | Refs #20474.
* | Delayed settings.DATABASES usage by ConnectionHandlerClaude Paroz2013-05-232-12/+19
| | | | | | | | Refs #20474.
* | Fixed #20474 -- Proxied and deprecated django.db.backendClaude Paroz2013-05-231-1/+23
| |
* | Fixed #19237 (again) - Made strip_tags consistent ↵Claude Paroz2013-05-231-7/+7
| | | | | | | | between Python versions
* | Made fix for #9321 less buggy and more effective.Ramiro Morales2013-05-231-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Don't try to be smart about building a good-looking help string because it evaluates translations too early, simply use the same old strategy as before. Thanks Donald Stufft for the report. Also, actually fix the case reported by the OP by special-casing CheckboxSelectMultiple. Added tests. Refs #9321.
* | Fixed #11398 - Added a pre_syncdb signalDonald Stufft2013-05-234-2/+21
| |
* | Merge pull request #1198 from KrzysiekJ/http-patch-methodRussell Keith-Magee2013-05-231-1/+4
|\ \ | | | | | | Fixed #20478 – Added support for HTTP PATCH method in generic views.
| * | Fixed #20478 – Added support for HTTP PATCH method in ↵Krzysztof Jurewicz2013-05-221-1/+4
| | | | | | | | | | | | generic views.
* | | Removed check for 0.15 version of gettext toolsClaude Paroz2013-05-221-12/+0
| | | | | | | | | | | | gettext 0.15 has been released in July 2006.
* | | Fixed #19237 -- Used HTML parser to strip tagsClaude Paroz2013-05-221-2/+26
|/ / | | | | | | | | | | The regex method used until now for the strip_tags utility is fast, but subject to flaws and security issues. Consensus and good practice lead use to use a slower but safer method.
* | Fixed #20463 -- Made get_or_create more robust.Aymeric Augustin2013-05-221-3/+3
| | | | | | | | | | | | | | When an exception other than IntegrityError was raised, get_or_create could fail and leave the database connection in an unusable state. Thanks UloPe for the report.
* | Merge pull request #246 from dekkers/ticket_18709Marc Tamlyn2013-05-221-0/+2
|\ \ | | | | | | Fixed #18709 -- Check if initial_value is a callable
| * | Fixed #18709 -- Check if initial_value is a callableJeroen Dekkers2013-05-221-0/+2
| | | | | | | | | | | | | | | In _get_changed_data, check if initial_value is a callable and call it if it is.
* | | Fixed #20012 -- test_year_lookup_edge_case fails under ↵Shai Berger2013-05-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Oracle Used formatted date instead of datetime object for the end of the year range, as the datetime object loses fractions-of-seconds when inserted into the db.
* | | Fixed #20015 -- date__startswith('2008') fails under OracleShai Berger2013-05-221-3/+0
| | | | | | | | | | | | Removed the explicit casting of strings to dates
* | | Fixed #20453 -- inspectdb test failure on OracleShai Berger2013-05-221-0/+1
|/ /
* | Fixed #18702 -- Removed chunked reads from QuerySet ↵Anssi Kääriäinen2013-05-211-120/+29
| | | | | | | | iteration
* | Fixed #19326 -- Added first() and last() methods to QuerySetSelwin Ong2013-05-212-0/+26
| |
* | (Re-)moved some importsClaude Paroz2013-05-212-2/+2
| |
* | Fixed #6412 -- More details if a template file cannot be ↵Mathijs de Bruin2013-05-211-5/+18
| | | | | | | | | | | | loaded Report more details about template files in loader postmortem.
* | Imported copyreg from six.movesClaude Paroz2013-05-211-5/+1
| |
* | Fixed #17308 -- Enabled the use of short_description on ↵Wiktor Kolodziej2013-05-211-2/+8
| | | | | | | | properties in the admin.
* | Merge pull request #1191 from ambv/content_is_bytesAymeric Augustin2013-05-211-2/+2
|\ \ | | | | | | Fixed #20472: response.content should be bytes on both Python 2 and 3
| * | Fixed #20472: response.content should be bytes on both ↵Łukasz Langa2013-05-211-2/+2
| | | | | | | | | | | | Python 2 and 3
* | | Fixed #20212 - __reduce__ should only be defined for Py3+.Daniel Lindsley2013-05-211-5/+18
|/ /
* | Fixed #9321 -- Deprecated hard-coding of help text in ↵Ramiro Morales2013-05-202-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | model ManyToManyField fields. This is backward incompatible for custom form field/widgets that rely on the hard-coded 'Hold down "Control", or "Command" on a Mac, to select more than one.' sentence. Application that use standard model form fields and widgets aren't affected but need to start handling these help texts by themselves before Django 1.8. For more details, see the related release notes and deprecation timeline sections added with this commit.
* | Fixed #20445 -- Raised original exception after command ↵Jorge Bastida2013-05-201-7/+7
| | | | | | | | error
* | Fixed #20403 -- Ignore forms marked for deletion when ↵Ryan Kaskel2013-05-201-1/+2
| | | | | | | | validating max_num.
* | Fixed #20278 -- ensured .get() exceptions do not recurse ↵Anssi Kääriäinen2013-05-201-6/+4
| | | | | | | | | | | | | | | | infinitely A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error reporting recurse infinitely on certain rare conditions. Fixed this by not trying to print the given lookup kwargs.
* | Fixed #20378 -- regression in GenericRelation on ↵Anssi Kääriäinen2013-05-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | abstract model When a GenericRelation was defined on abstract model, queries on childs of the abstract model didn't work. The problem was in the way fields and in particular field.rel was copied from models to their children. The regression was likely caused by #19385. Thanks to Gavin Wahl for spotting the regression.
* | Fixed qs.values() regression when used in subqueryAnssi Kääriäinen2013-05-201-1/+6
| |
* | Merge pull request #1181 from ↵Marc Tamlyn2013-05-202-4/+22
|\ \ | | | | | | | | | | | | aaugustin/better-api-to-disable-atomic-requests Changed API to disable ATOMIC_REQUESTS per view.
| * | Changed API to disable ATOMIC_REQUESTS per view.Aymeric Augustin2013-05-192-4/+22
| | | | | | | | | | | | | | | | | | | | | A decorator is easier to apply to CBVs. Backwards compatibility isn't an issue here, except for people running on a recent clone of master. Fixed a few minor problems in the transactions docs while I was there.
* | | Fixed #16330 -- added --pks option in dumpdata commandPreston Holmes2013-05-191-2/+19
|/ / | | | | | | | | Thanks to guettli for the initial ticket and patch, with additional work from mehmetakyuz and Kevin Brolly.
* | Made 2d309a70 compatible with Python 3.Aymeric Augustin2013-05-191-1/+1
| |
* | Merge pull request #1178 from bmispelon/masterRussell Keith-Magee2013-05-191-4/+9
|\ \ | | | | | | Fix for test failure introduced by 980ae2a.
| * | Fix test failure introduced by 980ae2ab29.Baptiste Mispelon2013-05-191-4/+9
| | |
* | | Fixed #15961 -- Modified ModelAdmin to allow for custom ↵Bozidar Benko2013-05-192-28/+35
|/ / | | | | | | | | | | | | | | | | search methods. This adds a get_search_results method that users can override to provide custom search strategies. Thanks to Daniele Procida for help with the docs.
* | Fix #19664 -- Illegal Characters In Session Key Give ↵Erik Romijn2013-05-192-4/+11
| | | | | | | | Fatal Error On File Backend Only
* | Fixed test failures with Oracle when pytz isn't installed.Aymeric Augustin2013-05-191-0/+6
| | | | | | | | Thanks Shai Berger for the report.
* | Fix #20447: URL names given to contrib.auth.views are ↵Baptiste Mispelon2013-05-193-60/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | now resolved. This commit also adds tests for the redirect feature of most auth views. It also cleans up the tests, most notably using @override_settings instead of ad-hoc setUp/tearDown methods. Thanks to caumons for the report. Conflicts: docs/releases/1.6.txt
* | Merge pull request #1130 from vdboor/issue_20442_get_for_idAndrew Godwin2013-05-192-2/+11
|\ \ | | | | | | Fixed #20442: NoneType error when fetching a stale ContentType with get_for_id
| * | Fix NoneType error when fetching a stale ContentType ↵Diederik van der Boor2013-05-182-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with get_for_id When a stale ContentType is fetched, the _add_to_cache() function didn't detect that `model_class()` returns `None` (which it does by design). However, the `app_label` + `model` fields can be used instead to as local cache key. Third party apps can detect stale models by checking whether `model_class()` returns `None`. Ticket: https://code.djangoproject.com/ticket/20442
* | | Merge pull request #1160 from erikr/host-inet-postgres2Aymeric Augustin2013-05-194-11/+13
|\ \ \ | | | | | | | | Fixed #11442 -- Postgresql backend casts all inet types to text
| * | | Fixed #11442 -- Postgresql backend casts all inet types ↵Erik Romijn2013-05-194-11/+13
| | | | | | | | | | | | | | | | to text