Giter Site home page Giter Site logo

responder-django-tutorial's People

Contributors

dependabot[bot] avatar

Watchers

 avatar  avatar

responder-django-tutorial's Issues

テストがない

Responder には独自テスト機能がないので pytest を直に使うことになり、難易度が上がるとのこと。

静的ファイルの置き場所(static)の抽象化に成功していない

  • staticをjinja2で解決するためのstaticフィルターを定義
def static_filter(path):
   return '/static/' + path
  • jinji2 のフィルターに追加
api.jinja_env.filters['static'] = static_filter

 → AttributeError: 'API' object has no attribute 'jinja_env'
  • チュートリアル対象の responder が時期的に v1 かも?現在は v2 。
  • site-pacages 配下で grep かけた限りでは jinja_env は見あたらない。

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.