Commit graph

429 commits

Author SHA1 Message Date
Keryn Knight
8a1d0662f1 Provide dir() support for PassThroughManagers.
Reported in #55 by erikcw.
2014-04-15 08:48:01 +01:00
Trey Hunner
b5b5864d5f Merge pull request #124 from carljm/fix-runtests-with-trunk
Update runtests.py for Django trunk
2014-04-11 06:43:21 -04:00
Trey Hunner
bbd3d62eb0 Use DiscoverRunner if available 2014-04-10 23:52:11 -04:00
Carl Meyer
61923571b9 Bump version to 2.0.3.post1 for dev. 2014-03-19 22:48:13 -06:00
Carl Meyer
5be1ed9a0e Add universal-wheel config in setup.py. 2014-03-19 22:44:17 -06:00
Carl Meyer
36b7e600c6 Bump version to 2.0.3 for release. 2014-03-19 22:43:48 -06:00
Carl Meyer
f63696a93e Update AUTHORS and changelog. 2014-03-19 22:27:56 -06:00
Carl Meyer
aaacf63518 Merge pull request #121 from schinckel/master
Make related query sets work on older django.
2014-03-19 22:21:50 -06:00
Matthew Schinckel
93500bb381 Ensure we call get_query_set on django 1.5-
Supersedes https://github.com/carljm/django-model-utils/pull/106

I can't actually see why this works, but it does: tests pass
after this that failed before.
2014-03-20 13:11:00 +10:30
Matthew Schinckel
a49936c267 Test case demonstrating relation failure.
https://github.com/carljm/django-model-utils/issues/120
2014-03-20 11:12:38 +10:30
Carl Meyer
f1e3a18c5f Merge pull request #116 from SeanHayes/master
Allow PassThroughManager subclasses to accept additional params.
2014-03-07 18:07:52 -06:00
Seán Hayes
3f7378ef60 Allow PassThroughManager subclasses to accept additional params. 2014-03-07 06:32:34 -05:00
Carl Meyer
8b231f4b0b Update changelog. 2014-03-02 13:20:55 -06:00
Carl Meyer
e525f395d3 Merge pull request #115 from mvantellingen/feature/deferred-suport
Add support for deferred fields in the FieldTracker
2014-03-02 13:19:44 -06:00
Michael van Tellingen
2bcddd5be9 Add fix for Django 1.4 2014-03-01 14:24:25 +01:00
Michael van Tellingen
6ffae1ad8f Add support for deferred fields in the FieldTracker 2014-03-01 13:34:17 +01:00
Michael van Tellingen
1bab9c492d Add failing test 2014-03-01 12:20:13 +01:00
Carl Meyer
9a78b7fbec Update AUTHORS and changelog. 2014-02-19 15:42:37 -07:00
Carl Meyer
f26b33acbc Merge pull request #114 from rsenkbeil/inheritance-manager-self-reference
Fix InheritanceManager when the model has a self reference.
2014-02-19 15:41:01 -07:00
Ryan Senkbeil
617ec2af01 Fix InheritanceManager when the model has a self reference.
Otherwise, we reach max recursion depth.
2014-02-19 15:28:01 -06:00
Carl Meyer
fe0eceaa74 Bump version to 2.0.2.post1. 2014-02-19 14:01:51 -07:00
Carl Meyer
923f131084 Bump version to 2.0.2. 2014-02-19 13:59:49 -07:00
Carl Meyer
722246051a Remove all non-ASCII characters in CHANGES.rst. Fixes GH-113.
Apologies to those whose names are mangled by this change.

It seems that distutils makes it impossible to handle non-ASCII content in a
setup.py long_description in a way that reliably works on Python 3 when the
system encoding is ASCII.
2014-02-19 13:59:33 -07:00
Carl Meyer
6579f5d61f Bump version to 2.0.1.post1. 2014-02-11 15:03:08 -07:00
Carl Meyer
d77608ef76 Bump version to 2.0.1. 2014-02-11 14:58:18 -07:00
Carl Meyer
38359ccf2e Fix case of Django dependency. Thanks Travis Swicegood. 2014-02-10 14:30:49 -07:00
Carl Meyer
d5ea59d3f6 Reference docs, not README, in CONTRIBUTING doc. 2014-01-25 17:41:24 -07:00
Carl Meyer
15ad7e1d93 Update AUTHORS and changelog. 2014-01-25 17:40:25 -07:00
Carl Meyer
f19755ae81 Merge pull request #105 from patrys/patch-1
Don't try to access __slots__ during copy()
2014-01-25 16:35:09 -08:00
Carl Meyer
01c0ebcf26 Move InheritanceManager extra fix to the 'master' section of changelog. 2014-01-25 17:27:52 -07:00
Carl Meyer
67804488ae Reorder AUTHORS.rst. 2014-01-25 17:26:51 -07:00
Carl Meyer
febc3d645a Merge pull request #101 from funkybob/issue-34
Attempt to carry over extras(select) values from parent
2014-01-25 16:25:36 -08:00
Carl Meyer
26f4d7c8f5 Silence BooleanField default warnings. 2014-01-25 17:11:26 -07:00
Carl Meyer
1152e7a329 Remove contenttypes from INSTALLED_APPS for testing; no longer needed. 2014-01-21 17:54:44 -07:00
funkybob
5b6a3ff197 Update AUTHORS and CHANGES 2014-01-21 11:08:28 +11:00
funkybob
a5fe3de330 Deal with Django <1.7 using SortedDict wherein keys() is a generator, not a view 2014-01-21 09:19:54 +11:00
Patryk Zawadzki
80547335c0 Don't try to access __slots__ during copy()
When subclassing Django will copy managers from the ancestor class. Copying in turn calls `copy.copy()` which checks whether the object uses `__slots__` or `__dict__`. This could result in the manager calling `self.get_queryset()` before all models get registered with the ORM.
2014-01-20 12:50:37 +01:00
funkybob
91b07079e0 Use legacy compatible approach 2014-01-14 15:05:03 +11:00
Carl Meyer
6dc8c9420f Update Travis config to match updated tox.ini. 2014-01-13 09:49:05 -07:00
funkybob
cb362f4a12 Shorten test docstring 2014-01-13 16:49:18 +11:00
Carl Meyer
6512e3e00e Remove trailing whitespace. 2014-01-10 16:29:59 -07:00
Carl Meyer
50210ef2af Add changelog note. 2014-01-10 16:29:44 -07:00
Carl Meyer
07ea0d3a71 Minor docs cleanup. 2014-01-10 16:23:29 -07:00
Douglas Meehan
2082c7e3d5 edited typo 2014-01-10 17:09:01 -05:00
Douglas Meehan
2b089aee8d updated manager docs 2014-01-10 17:07:49 -05:00
Douglas Meehan
1cf5454ee8 added documentation about manager mixins 2014-01-10 22:01:46 +00:00
Douglas Meehan
33c600e28c edited class names 2014-01-10 16:18:10 -05:00
Douglas Meehan
9e024a14af removed trailing whitespace 2014-01-10 16:15:42 -05:00
Douglas Meehan
aaf1fc8636 changed class names to be more descriptive 2014-01-10 16:06:08 -05:00
Douglas Meehan
55a15f7e55 Update managers.py 2014-01-09 16:58:51 -05:00