Giter VIP home page Giter VIP logo

Comments (5)

clokep avatar clokep commented on July 17, 2024

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.

alfredo-ardito avatar alfredo-ardito commented on July 17, 2024

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.

clokep avatar clokep commented on July 17, 2024

@alfredo-ardito Why the change to the low_mark comparison? (None of the tests fail without that change, see #59.)

from django-querysetsequence.

alfredo-ardito avatar alfredo-ardito commented on July 17, 2024

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.

clokep avatar clokep commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.