-
Notifications
You must be signed in to change notification settings - Fork 65
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
Django 1.4 - minor compatibility issue #14
Conversation
Thanks for this pull request. I'm not really a fan of try...except... where it isn't required, so maybe this should use |
updated - please look again. |
Alright. Now had a closer look. Does Django 1.4 just remove that attribute? It's not replaced with anything? |
appears to have been removed and not replaced |
and... |
Any movement on this? |
Not really sure this fix will actually work as it will result in a |
On Sun, Mar 25, 2012 at 7:54 PM, Jonas Obrist <
Can you clarify? I don't see any calls to Variable.resolve or t |
On Sun, Mar 25, 2012 at 11:46 PM, Jonas Obrist <
The only change my patch makes is to check for the value of the attribute In particular you seem to be talking about the line
this does indeed cause However this is not related to my patch - t |
I used this patch in a project usign django 1.4 and everything works fine. |
Thanks for verifying @AdrianRibao @tomscytale in the old version, if |
are you sure? as far as I can tell the context is used unless |
FWIW this is the change that removed parent_name_expr: django/django@5cedcb4 |
Thanks andi, I will still need to actually test this pull request before I can merge it, this will hopefully happen next week when I should have a little more time to work on this. |
Is it next week yet? :-) The patch worked for me and the current code definitely will not work with Django 1.4. |
The patch is working here. The old code does not work... |
This patch works, it should be merged ASAP. It breaks 1.4 I've been using it for a long time in production enviroments. |
I second what @AdrianRibao, @parruc, and @tfmorris said. |
Thirded. |
Noted, will merge this/make sekizai 1.4 compatible post-djangocon europe |
Django 1.4 - minor compatibility issue
just noticed that this patch actually breaks a test. will investigate |
the issue is exactly what I described above, get_parent is called with None on a dynamic extends tag. |
Is there a better patch to get this working with Django 1.4? |
I merged the patch. sekizai master now supports up to the in-development 1.5 release of Django. (On Python versions up to 3.2). I just gotta make a proper release for the new version. |
No description provided.