romgar
8ecf75144b
Update tests to use freezegun to avoid time resolution issues on Windows
2016-11-20 22:08:07 +00: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
Radosław Ganczarek
9e90dde2e8
Add SoftDeletableModel
2016-09-12 15:11:34 +02:00
Alexey Evseev
9ee6065f81
Support Django 1.10 deferred FileField with FieldTracker
2016-09-08 18:00:48 +03: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
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
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
Roman
7ec978e1d8
1.10 fix
2016-05-27 20:32:16 +00: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
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
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
Adam Bogdał
4f39ce9497
Add support for Django 1.10
2016-02-09 00:22:12 +01:00
Carl Meyer
f1f8749fa9
Bump version to 2.4.1a1.
2015-12-02 10:55:59 -07:00
Carl Meyer
3c8fe6a7d2
Bump version to 2.4.
2015-12-02 10:43:11 -07:00
Karl WnW
ce8deed5ca
Fix _clone signature for Django<1.9
...
InheritanceQuerySetMixin._clone signature conflicts with django
ValuesQuerySet._clone code which calls super like this:
"c = super(ValuesQuerySet, self)._clone(klass, **kwargs)"
2015-11-02 17:52:43 +01:00
jarekwg
81eba92e61
flakes
2015-10-29 09:37:21 +11:00
jarekwg
1d473ec6a9
Test InheritanceManager fail against a different model
2015-10-29 09:33:45 +11:00
jarekwg
01514db83c
Update MutableField for 1.9
2015-10-29 08:12:35 +11:00
jarekwg
201aa3bf30
Half-assed use of User model raises exceptions in 1.9b1
2015-10-29 08:12:02 +11:00
jarekwg
bbad2b7b47
Hide _clone params in kwargs to match django 1.9 signature
2015-10-29 02:00:49 +11:00
jarekwg
2824ec2e48
Remove PassThroughManager
...
As of Django 1.7, QuerySet.as_manager() achieves the same result.
2015-10-29 00:10:28 +11:00
jarekwg
7a33e14f4b
Get StatusFields working
2015-10-29 00:02:46 +11:00
jarekwg
665fc04b7e
Must use the 'Now' database function in django>=1.9
2015-10-28 23:47:33 +11:00
Carl Meyer
165e0ec495
Bump version for 2.4 development.
2015-07-20 10:32:18 -06:00
Carl Meyer
443108c7ad
Set version for 2.3.1 release.
2015-07-20 10:22:27 -06:00
Carl Meyer
114f4fe228
Add script and makefile tasks for making and compiling messages; un-gitignore .mo files.
2015-07-20 10:20:11 -06:00
Carl Meyer
ab4a2b4ce4
Bump version to 2.4a1.
2015-07-17 13:02:07 -06:00
Carl Meyer
b1c183d475
Bump version to 2.3.
2015-07-17 11:38:39 -06:00
Philipp Steinhardt
1bfee88c06
* clean up po file header
2015-07-02 13:53:39 +02:00
Philipp Steinhardt
5218b483c5
* add german translations
2015-07-01 14:16:40 +02:00
Sergey Zherevchuk
608028aba8
Fix #169 issue
...
Hardcoding no_excerpt_field field in deconstruct() method of SplitField class
2015-06-18 11:11:28 +03:00
Carl Meyer
d797996d13
Fix Python 2.6 compatibility.
2015-01-28 12:17:34 -07:00
Carl Meyer
a1088dba52
Simpler cross-version implementation of _field_exists.
2015-01-28 10:59:20 -07:00
Carl Meyer
3f9b1cfac8
Fix select_subclasses for Django 1.8.
2015-01-27 16:48:06 -07:00
Carl Meyer
3110794afc
Fix 'add_*_manager' signal handlers for Django 1.8+.
2015-01-27 16:43:29 -07:00
ad-m
50caabdd2e
Fix #156 issue
2014-10-29 00:27:10 +01:00
Carl Meyer
9786672361
Remove dead code branch.
2014-09-22 12:49:35 -06:00
bboogaard
041ef6b838
Keep track of deferred fields on model instance
...
Instead of on FieldInstanceTracker instance
Signed-off-by: bboogaard <b.boogaard@auto-interactive.nl>
2014-08-19 10:29:03 +02:00
Carl Meyer
54d915bd4a
Bump version to 2.3a1.
2014-07-31 18:57:29 -06:00
Carl Meyer
c62fe9446d
Add Changelog entry for revert of GH-130; bump version to 2.2.
2014-07-31 18:16:15 -06:00
Carl Meyer
a127e32217
Revert "Use a signal handler instead of patching save."
...
This reverts commit 3496fe4291 .
2014-07-31 18:08:24 -06:00
Carl Meyer
a0ba93f8c2
Bump version to 2.2a1.
2014-07-25 10:00:46 -06:00
Carl Meyer
24fa8945bb
Bump version to 2.1.0.
2014-07-25 09:52:55 -06:00
Matthew Schinckel
3496fe4291
Use a signal handler instead of patching save.
...
References #83 .
Instead of patching the save method of a tracked model class, we can use
a signal handler on post_save, which means we can still pickle our model
class.
Note we can't just listen for the signal from the class we have, but
instead listen for all post_save signals. This means we actually install
a new signal handler for each tracked model class, which fires on all
model save occurrences (and returns immediately if this handler doesn't care).
We probably could improve this to have a registry of tracked models, or
something, that allows us to just install one signal handler, and filter
according to membership.
2014-05-12 14:32:59 +09:30