I can't make much sense from the error message, but it seems that for
some reason the request isn't available in the template. Did you use
RequestContext and do you have django.core.context_processors.request
in your TEMPLATE_CONTEXT_PROCESSORS? Not all content types need the
request, but f.e. the ContactFormContent and ApplicationContent won't
work without it.
Matthias
--
You received this message because you are subscribed to the Google Groups "Django FeinCMS" group.
To post to this group, send email to django-...@googlegroups.com.
To unsubscribe from this group, send email to django-feincm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-feincms?hl=en.
Just a little bit of clarification:
If you use the feincms rendering tags, you need the request of course,
because you are passing it to the template tag. The content types
themselves do nothing with it, they just ignore the additional
arguments.
Btw, if you aren't using frontend editing or content types requiring a
request, you could replace
{% feincms_render_region feincms_page "main" request %}
with
{% for content in feincms_page.content.main %}{{ content.render }}{% endfor %}
If you use {{ content.render }}, you cannot pass a request and that's
(nearly) the only reason for the feincms_render_* template tags to
exist.
Matthias