Commit graph

1102 commits

Author SHA1 Message Date
Bruno Alla
ecf80381de Reword changes, use GH- convention for tickets and PR 2017-01-07 14:20:00 +00:00
Bruno Alla
336ac14144 Add changes at the top of the Changelog 2017-01-05 18:32:33 +00:00
Bruno Alla
2af54972eb Revert unrelated change regarding related fields
Remove attribute use_for_related_fields in SoftDeletableManagerMixin.
2017-01-05 18:32:13 +00:00
Bruno Alla
063332643d Split SoftDeletableQuerySet/Manager into Mixin 2017-01-05 14:40:03 +00:00
Bruno Alla
0efaad1218 Fix issue when extend QuerySet and Manager - fixes #249 2017-01-05 14:29:35 +00:00
Carl Meyer
0febeae9ee Merge pull request #240 from browniebroke/feature/soft-delete-purge
Ability to purge from db a SoftDeletableModel
2016-11-28 16:02:12 -08:00
Bruno Alla
4311e24e98 Add soft parameter to delete method instead of new one 2016-11-28 23:45:48 +00:00
Bruno Alla
6efab67b79 Merge remote-tracking branch 'carljm/master' into feature/soft-delete-purge
# Conflicts:
#	model_utils/tests/tests.py
2016-11-28 23:31:16 +00:00
Romain Garrigues
df57fdba92 Merge pull request #246 from romgar/ticket_244_split_tests_in_several_files
Separate tests in small files. Fixes #244 (at least the test splitting part).
2016-11-27 13:50:54 +00:00
romgar
eb41dc0ea0 Prevent test manual import for Django 1.6+. No impact on Django 1.7/1.8, duplicating all test runs in Django 1.6 2016-11-24 21:31:55 +00:00
romgar
2a9c199819 Remove test duplication related to TestCase inheritance in different files 2016-11-24 21:31:23 +00:00
romgar
6fefc53c58 Separate tests in small files, making it easier to edit/add new ones/not conflict on different merge requests 2016-11-23 23:49:53 +00:00
Carl Meyer
68bc61e825 Update changelog and AUTHORS. 2016-11-21 11:36:25 -08:00
Carl Meyer
94870b2510 Merge pull request #242 from romgar/ticket_241_double_monitor_field_recursion_error
Tests to demonstrate recursion error with double MonitorField and defer()/only() usage
2016-11-21 11:13:31 -08:00
Carl Meyer
9d39d46115 Merge pull request #243 from romgar/ticket_206_timestamp_resolution_issue_on_windows
Update tests to use freezegun to avoid time resolution issues on Windows
2016-11-21 11:08:56 -08:00
romgar
8ecf75144b Update tests to use freezegun to avoid time resolution issues on Windows 2016-11-20 22:08:07 +00:00
romgar
e2440a6872 Add tests to prevent regression in MonitorField behaviour if we filter out deferred fields in _save_initial 2016-11-19 12:08:48 +00:00
romgar
93dd940a5d Remove defered fields in _save_initial only for Django 1.10+ 2016-11-18 23:31:45 +00:00
romgar
2455c983fc Restore initial indentation 2016-11-18 23:12:39 +00:00
romgar
72158f1820 Avoid to directly initialise a monitored field if defered to avoid recursion issue 2016-11-18 23:11:23 +00:00
romgar
e9d57e60fe Add test to demonstrate issue #241 2016-11-18 00:24:57 +00:00
Bruno Alla
ff4afd7288 Add a purge_from_db to SoftDeletableModel 2016-11-17 08:56:59 +00:00
Carl Meyer
59b5fa24f7 Merge pull request #239 from browniebroke/bugfix/softdelete-multi-db
SoftDeletableModel: use correct DB connection
2016-11-09 13:00:24 -07:00
Bruno Alla
516c457747 SoftDeletableModel: use correct DB connection
When deleting a SoftDeletableModel instance, the `using` parameter
should be passed down to the `save()` method.

https://docs.djangoproject.com/en/1.10/topics/db/multi-db/#selecting-a-d
atabase-for-save
2016-11-09 19:49:31 +00:00
Carl Meyer
e1a3cee4d3 Bump version to 2.6.1.a1. 2016-09-19 08:05:40 -06:00
Carl Meyer
a9a8451fc9 Bump version to 2.6. 2016-09-19 08:03:42 -06:00
Carl Meyer
f941ec9db3 Merge pull request #236 from radowit/soft-deletable-model
Add SoftDeletableModel
2016-09-12 10:33:03 -06:00
Radosław Ganczarek
9e90dde2e8 Add SoftDeletableModel 2016-09-12 15:11:34 +02:00
Carl Meyer
9231617d39 Merge pull request #235 from st4lk/dj110-filefield
Support Django 1.10 deferred FileField with FieldTracker
2016-09-08 09:22:40 -06:00
Alexey Evseev
9ee6065f81 Support Django 1.10 deferred FileField with FieldTracker 2016-09-08 18:00:48 +03:00
Carl Meyer
e3c53e1204 Merge pull request #233 from jarekwg/upgrade/dj110
Django 1.10 support for FieldTracker
2016-08-17 21:18:57 -06:00
Jarek Glowacki
bc7d820724 Keep trunk tests in allowed_failures 2016-08-18 12:55:47 +10:00
Jarek Glowacki
bbc076429a Nicer solution 2016-08-17 11:48:27 +10:00
Jarek Glowacki
922c49770e Django 1.10 support for FieldTracker 2016-08-15 12:24:07 +10:00
Carl Meyer
d212eb7ca2 Fixes #231 -- clarify that requirements.txt contains dev dependencies. 2016-08-10 07:07:55 -06:00
Carl Meyer
65b0823e16 Bump version to 2.5.3a1. 2016-08-09 15:09:11 -06:00
Carl Meyer
da8e8cf3c9 Include runtests.py in sdist; bump version to 2.5.2. 2016-08-09 15:06:49 -06:00
Carl Meyer
8619b3d270 Add twine to requirements. 2016-08-03 08:44:42 -06:00
Carl Meyer
34e4b6880f Bump version to 2.5.2a1. 2016-08-03 08:44:29 -06:00
Carl Meyer
5904008eab Bump version and update changelog for 2.5.1 release. 2016-08-03 08:38:59 -06:00
Carl Meyer
f2bf61f46c Mark Django 1.10 as allowed-failure on Travis, for now, and clarify support in README. 2016-08-03 08:29:46 -06:00
Carl Meyer
bd78590a31 Add Django 1.10 to tox/Travis. 2016-08-03 08:17:36 -06:00
Carl Meyer
870391dd34 Add requirements.txt. 2016-08-03 08:17:14 -06:00
Carl Meyer
535fe46702 Update Python support info. 2016-07-18 14:48:43 -06:00
Carl Meyer
69033eda50 Merge pull request #227 from stantond/patch-1
Docs update: has_changed supports a single field
2016-07-13 14:12:22 -06:00
Daniel Stanton
2827dbdb79 Reduced docs 2016-07-13 21:08:15 +01:00
Daniel Stanton
8e818d9bfa Removed colons 2016-07-13 17:59:08 +01:00
Daniel Stanton
98416539a5 Docs update: has_changed supports a single field
Closes #225
2016-07-13 17:57:13 +01:00
Carl Meyer
ce6bc45963 Merge pull request #222 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-06-04 11:43:40 -07:00
Adam Chainz
699369424c Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-06-04 11:41:33 +01:00