Django TemplateResponse not available?

apps

#1

Hi

I am trying to deploy a django app. My dreamhost space doesn’t seem to have the [quote]django.template.response[/quote] namespace available.

I open the shell with:

then I do :

[quote]import django.template.response
[/quote]
And I get the following exception:

[quote]ImportError: No module named response
[/quote]

I looked into the following directory on dreamhost:

[quote]/usr/lib/pymodules/python2.6/django/template
[/quote]

Here are the files available:

[quote]init.py -> /usr/share/pyshared/django/template/init.py
context.py -> /usr/share/pyshared/django/template/context.py
debug.py -> /usr/share/pyshared/django/template/debug.py
defaultfilters.py -> /usr/share/pyshared/django/template/defaultfilters.py
defaulttags.py -> /usr/share/pyshared/django/template/defaulttags.py
loader.py -> /usr/share/pyshared/django/template/loader.py
loader_tags.py -> /usr/share/pyshared/django/template/loader_tags.py
smartif.py -> /usr/share/pyshared/django/template/smartif.py[/quote]

Notice that there is no [quote]render.py[/quote]

On my local machine, here is the list:

[quote]-rw-r–r-- 1 root admin 3247 Nov 26 2010 init.py
-rw-r–r-- 1 root admin 38683 Jan 26 2011 base.py
-rw-r–r-- 1 root admin 6298 Mar 10 2011 context.py
-rw-r–r-- 1 root admin 3797 Nov 26 2010 debug.py
-rw-r–r-- 1 root admin 29467 Mar 3 2011 defaultfilters.py
-rw-r–r-- 1 root admin 47838 Mar 10 2011 defaulttags.py
-rw-r–r-- 1 root admin 8326 Mar 2 2011 loader.py
-rw-r–r-- 1 root admin 10409 Mar 10 2011 loader_tags.py
-rw-r–r-- 1 root admin 5970 Jan 24 2011 response.py
-rw-r–r-- 1 root admin 6261 Apr 19 2010 smartif.py[/quote]

How can I fix this issue?

Thanks

AJ