mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-10 19:36:33 +03:00
Add model to QuerySet to support django-rest-framework 3
This commit is contained in:
parent
232a8d29ad
commit
272729153c
|
@ -292,6 +292,7 @@ class QuerySet(object):
|
|||
Initializer. It is possible to create a queryset like this, but the standard
|
||||
way is to use `MyModel.objects_in(database)`.
|
||||
"""
|
||||
self.model = model_cls
|
||||
self._model_cls = model_cls
|
||||
self._database = database
|
||||
self._order_by = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user