Posts Tagged ‘python’

django-cms imports module that is never referenced

This one just drove me nuts so I will post it here as personal note.
If you are running a django-cms powered site where some pages have application_urls hooked into the page you have to be careful when removing the hooked up application. I for instance was using the wonderful django-contact_form application for quite a while [...]

  • Share/Bookmark

Tags: , , ,

Invalid template name in ‘extends’ tag: ”. Got this from the ‘template’ variable.

When writing a django-application that should be hooked into a django-cms page you might stumble upon this error message:
TemplateSyntaxError at /bewerben/
Invalid template name in ‘extends’ tag: ”. Got this from the ‘template’ variable.
In order to fix this you need to pass your context to the template in your view-method:
return render_to_response(
[...]

  • Share/Bookmark

Tags: , ,

Where to host websites powered by Python and Django

As this blog is dedicated to web development powered by Python and Django my first article consequently is going to try to answer the first question you probably ask yourself when planning to create a Django powered Website: “Where can I host my stuff?”

  • Share/Bookmark

Tags: , ,