Comments (3)
Pull request: #62
from jingo.
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 inmonkey.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.
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)
- No `override` for register.filter
- Bug in ability to use render_to_string() HOT 1
- JINGO_EXCLUDE_APPS + Django admin HOT 2
- datetime helper breaks on Windows HOT 2
- Django test fails with Jingo installed HOT 2
- Doesn't populate test data correctly HOT 3
- Translations don't work HOT 8
- Circular Imports HOT 1
- helpers.f doesn't convert to string first as it used to HOT 5
- Review the need to monkey patch on modern Django HOT 2
- JINGO_EXCLUDE_APPS doesn't work with sitemap HOT 1
- Please release a new version to PyPI HOT 6
- Django 1.7: AttributeError: 'module' object has no attribute 'StrAndUnicode' HOT 1
- Tag & release 0.8 HOT 11
- Jingo does not support django.contrib.admin.apps.SimpleAdminConfig
- Push 0.7 tag to GitHub HOT 1
- Add me to your committers or transfer the app over to Mozilla HOT 9
- Replace built-in helpers with Jinja extension
- Port to Django 1.9: ``from django.template.base import TemplateDoesNotExist`` ImportError. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jingo.