Commit graph

584 commits

Author SHA1 Message Date
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
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
Carl Meyer
c94b65d05f Merge pull request #220 from theromis/master
1.10 fix
2016-05-27 16:29:42 -07:00
Roman
7ec978e1d8 1.10 fix 2016-05-27 20:32:16 +00:00
Carl Meyer
5f6e4b45d8 Merge pull request #219 from artisavotins/master
Fixed a bug with Django >= 1.9 and values_list being called on InheritanceQuerySet
2016-05-25 11:17:04 -07:00
Artis Avotins
d1337d5a7c Fixed a bug with Django >= 1.9 where values_list was called on
InheritanceQuerySet with `select_subclasses` applied as strings
raised AttributeError exception.

Adds a new test case `test_dj19_values_list_on_select_subclasses`
2016-05-25 18:58:03 +02:00
Carl Meyer
ba08b6b438 Merge pull request #218 from adamn/patch-1
Dropped Python 3.2 from support list
2016-05-06 12:05:13 -06:00
Adam Nelson
cd9201fb49 Dropped Python 3.2 from support list 2016-05-06 13:21:12 -04:00
Carl Meyer
c5417eb613 Bump version for dev. 2016-04-18 15:08:15 -06:00
Carl Meyer
a43027ccee Bump version to 2.5. 2016-04-18 15:02:40 -06:00
Carl Meyer
ea9da8cd9b Merge pull request #215 from ocadotechnology/wip-214
Fix #214
2016-04-18 15:00:32 -06:00
Mike Bryant
ff3f8e5546 Use all the fields to determine _id variants. Fixes #214
If a tracker is defined on an inherited model, where the parent has a ForeignKey,
the tracker will now correctly determine that the field_map takes `fk` -> `fk_id`
2016-03-31 15:45:19 +01:00