-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: tackle Issue #72 (Django 1.10 Compatibility) #74
base: master
Are you sure you want to change the base?
Conversation
can you do an iteration on this and fix the tests, so @gregmuellegger can merge it? |
ref-ing #72, there is additional information about jinja. |
Would love for this to get through. Not sure what's left for it. |
I need this merge too... |
@@ -158,7 +158,7 @@ def test_functional(self): | |||
result = result.strip() | |||
self.assertEqual(result, 'Hello .') | |||
# simulate RequestContext | |||
result = render_to_string('index.html', context_instance=RequestContext(Mock())) | |||
result = render_to_string('index.html', context = RequestContext(Mock()).flatten()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space before and after the =
context=RequestContext(Mock())
I added a Django 1.10 support by fetching the loaders in TEMPLATES instead of TEMPLATE_LOADERS.
I now have problems while running the tests:
test_ipad and test_motorola_xoom are failing because for a reason I couldn't identify, the Flavour returned is None.
Any clue about the reason why it happens ?