Code Monkey home page Code Monkey logo

Comments (3)

robhudson avatar robhudson commented on June 20, 2024

Pull request: #62

from jingo.

jsocol avatar jsocol commented on June 20, 2024

It's also broken in a bigger way thanks to app loading. 

Sent from my phone, please excuse the occasional typo.

On Wed, Oct 8, 2014 at 6:57 PM, Rob Hudson [email protected]
wrote:

Django 1.7 causes jingo to break in at least one way that I've found so far.

StrAndUnicode was deprecated in 1.5 and removed in 1.7. Jingo uses this method in monkey.py. The replacement, which is to use the @python_2_unicode_compatible class decorator wouldn't work with the class base hacking that jingo does. I'm investigating a way to solve this in a backwards compatible way.

Reply to this email directly or view it on GitHub:
#61

from jingo.

robhudson avatar robhudson commented on June 20, 2024

So far I haven't seen any problems because of app loading (aside from the test runner) once I put the monkey patch in the urls.py file as recommended in the instructions. But jingo could benefit from the app loading now that it exists -- although I'm not sure how one does that in a backwards compatible way.

The pull request now adds Django 1.7 to the tox and travis test matrix and adds django.setup() to the test runner so the app registry is loaded and tests run successfully.

from jingo.

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.