I see. I think I'd rather use the lower version of coffin for now. Thanks! On Apr 14, 8:09 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Wed, Apr 14, 2010 at 7:38 AM, Marconi <caket...@gmail.com> wrote: > > I'm trying to use Jinja2 as my template in Django 1.1 and I found out > > abouthttp://github.com/dcramer/coffin. > > But when I try importing: from coffin.shortcuts import > > render_to_response > > > I get the following error:http://python.pastebin.com/hwCWGRFF > > > Any idea whats happening? > > The error: > > 1. File > > "/opt/local/lib/python2.5/site-packages/Coffin-0.3.3-py2.5.egg/coffin/templ > ate/__init__.py", > line 1, in <module> > 2. from django.template import ( > 3. > 4. ImportError: cannot import name import_library > > indicates coffin (or at least, the version you are using) is importing a > Django template function that doesn't exist in 1.1. import_library was added > in changeset 12295 (http://code.djangoproject.com/changeset/12295). So it > seems you're expected to be using an SVN checkout of trunk with the version > of coffin you have, not Django 1.1.x. > > Karen
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.