Sardorbek Imomaliev
Sardorbek Imomaliev
Hi, @fish-face. Thanks for PR I think before doing that we should rewrite how class attributes are handled, and move them to `Meta`. I am going to start rewriting a...
You need to create new Manager class that inherits from both `InheritanceManager` and `OrderedModelManager` ```python class PlaceManager(InheritanceManager, OrderedModelManager) ... class Place(models.Model): # ... objects = PlaceManager() ```
You need to overload to queryset as well. And this queryset should be subclass of OrderedModelQueryset
You should've created new QuerySet that inherits `OrderedModelQuerySet` and `InheritanceQuerySet` and then passed it to your new `PlaceManager`
I am not sure the mutex is a way to go in this case
Maybe something along those lines https://github.com/viewflow/django-fsm/blob/master/django_fsm/__init__.py#L422. I need to do some research on this
Hi could rebase and provide test?
Hi @GeeWee, sounds like a design flaw in our part. I am currently busy and will have time to look into this next week. If you want to take this...
Hi, could you please elaborate what this PR is fixing and provide tests?
Have you subclassed `OrderedModelManager`?