Code Monkey home page Code Monkey logo

Comments (5)

miguelgrinberg avatar miguelgrinberg commented on May 16, 2024

Try upgrading to the latest Flask-WhooshAlchemy.

from microblog.

Pablo2m avatar Pablo2m commented on May 16, 2024

Works now!, Thank you for tutorial, glad to see something so detailed

from microblog.

Enderthe3rd avatar Enderthe3rd commented on May 16, 2024

"Try upgrading to the latest Flask-WhooshAlchemy."
I got this error after downgrading so I could do Part 16!

Is there anyway to fix this error while sticking with Whoosh 0.54a?

from microblog.

miguelgrinberg avatar miguelgrinberg commented on May 16, 2024

@Enderthe3rd Flask-WhooshAlchemy used a fairly nasty trick to extend the Flask-SQLAlchemy query object. It appears that this trick does not work anymore on recent versions of Python. I think you should consider that article of interest only as a read, it would probably require finding an old version of Python 2 that allows the original query methods (such as the paginate that fails) to work again.

from microblog.

Enderthe3rd avatar Enderthe3rd commented on May 16, 2024

@miguelgrinberg OK, sounds good to me. Thanks so much for this tutorial, it's be so helpful. I've been repurposing microblog to a project I had in mind to try. Man, you really start to learn this stuff once you have to do it on your own instead of just copying someone else's work. I'm clearly going to have to learn some javascript.

from microblog.

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.