Coder Social home page Coder Social logo

Comments (2)

bdarnell avatar bdarnell commented on June 20, 2024

By "Template tag", I assume you mean {% module Template(...) %}? I think you're right that that would lose the functions that are normally created by RequestHandler.get_template_namespace. That would definitely be a problem, but I'd expect the result to be an error when it tries to call the non-existent static_url function. I don't see any way for it to just return its arguments unmodified. Do you have a complete example of this problem?

from tornado.

joesolly avatar joesolly commented on June 20, 2024

@bdarnell thanks for the response. This issue stemmed from my debugging mher/flower#1338. However, the version of code I was reading (2.0.1), was different from the version I had installed (2.0.0), so static_url wasn't even being called in that old version. I had incorrectly assumed that static_url wasn't working, but it turns out it wasn't in the code I had installed at all. Sorry about the incorrect issue.

from tornado.

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.