Comments (5)
This package hasn't yet been updated to support Django 3.0 (and dropping support for Python 2.7 / Django 1.11). It is on my todo list, but I don't know when I'll get to it. Unfortunately it is somewhat difficult to support both Django 3.0 and Django 1.11 at the same time, which are both current versions of Django. Any help would be appreciated.
from django-querysetsequence.
okay. In the mean while to make it work I changed line 15
from django.utils import six
with
import six
and line 254 from
if low_mark is not 0:
to
if low_mark != 0:
from django-querysetsequence.
@alfredo-ardito Why the change to the low_mark
comparison? (None of the tests fail without that change, see #59.)
from django-querysetsequence.
the low_mark
comparison is not obviously an error.
I get this warning running:
python manage.py runserver
/var/venv/lib/python3.8/site-packages/queryset_sequence/init.py:255: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if low_mark is not 0:
For this reason I did that change, maybe, not strictly necessary.
from django-querysetsequence.
Ah! Interesting. That might be new with Python 3.8, I don't see that when running the tests in 3.7 at least. I'll look into that separately.
from django-querysetsequence.
Related Issues (20)
- Retrieving related values doen't work after order_by() HOT 3
- Deconstruct QuerySetSequence back into QuerySets HOT 25
- Slicing issue HOT 6
- DJ1.10: TypeError: not_impl() got an unexpected keyword argument 'using' HOT 4
- NotImplementedError: QuerySequence does not implement get_compiler() HOT 8
- Implement distinct() HOT 8
- 'QuerySetSequence' object has no attribute '_cloning' HOT 3
- Using QuerySets from different databases is not supported HOT 7
- Broken support for DjangoFilterBackend?
- New Version HOT 3
- SyntaxWarning: "is not" with a literal. Did you mean "!="? HOT 6
- pip installing this package is still using django.utils import six HOT 1
- 'QuerySetSequence' object has no attribute 'query' HOT 1
- AttributeError: 'QuerySetSequence' object has no attribute '_prefetch_related_lookups' HOT 10
- Support using `models.F` in `QuerySetSequence.order_by()` HOT 1
- Support asynchronous ORM methods
- Support Django 4.1 fields for `bulk_create()`
- Support prefetching in `iterator()`
- Support order_by with None value HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-querysetsequence.