GithubHelp home page GithubHelp logo

talkpython / htmx-python-course Goto Github PK

View Code? Open in Web Editor NEW
291.0 291.0 132.0 4.05 MB

Student details, source code, and more for our HTMX + Flask: Modern Python Web Apps, Hold the JavaScript course.

License: MIT License

Python 3.80% CSS 41.51% JavaScript 52.21% HTML 2.48%
course flask htmx python web-development

htmx-python-course's People

Contributors

dependabot[bot] avatar mikeckennedy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

htmx-python-course's Issues

sys.gettrace() is not being used anymore

Hi there,

While going through the course, I have noticed that the debugging mode in Pycharm doesn't activate the debugging mode in Flask anymore. However, if I replace the code below

being_debugged = sys.gettrace() is not None

with

    being_debugged = sys.monitoring.get_tool(sys.monitoring.DEBUGGER_ID) is not None

It now works again.

If maintainers approve of this change I will prepare a PR :) I can also keep it backward compatible.

What do you think?

Blueprint Error running the sample app

Tried to run the app from the ch4_starter_video_collector folder. I'm using anaconda, had to install pydantic but when I tried to run the app I got the error that Blueprint does not have a get method. I replace get with route in all 3 view files - and not the app is running fine. Just as a hint for others stumbling at this point. Excited to move this app to htmx. Thx for the course.

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.