Hello. This is an issue carried over from
here.
I have been trying to install Pinax, using the instructions from
this site. At the
Running a Project step, specifically running the command "python manage.py runserver", the server does run:
mark:$ python manage.py runserver
Validating models...
0 errors found
Django version 1.4.1, using settings 'mysite.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
But, when I check the site, I am told of the following error:
ImproperlyConfigured at /
Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.4.1
Exception Type: ImproperlyConfigured
Exception Value:
Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"
Exception Location: /media/Extra/mysite-env/lib/python2.7/site-packages/django/template/loader.py in find_template_loader, line 101
Python Executable: /media/Extra/mysite-env/bin/python
Python Version: 2.7.2
Python Path:
['/media/Extra/mysite/apps',
'/media/Extra/mysite',
'/media/Extra/mysite-env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/media/Extra/mysite-env/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg',
'/media/Extra/mysite-env/lib/python27.zip',
'/media/Extra/mysite-env/lib/python2.7',
'/media/Extra/mysite-env/lib/python2.7/plat-linux2',
'/media/Extra/mysite-env/lib/python2.7/lib-tk',
'/media/Extra/mysite-env/lib/python2.7/lib-old',
'/media/Extra/mysite-env/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/media/Extra/mysite-env/lib/python2.7/site-packages']
Server time: Fri, 5 Oct 2012 14:41:32 -0400
Here is the traceback"
Environment:
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.4.1
Python Version: 2.7.2
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.humanize',
'pinax.templatetags',
'pinax_theme_bootstrap',
'staticfiles',
'compressor',
'debug_toolbar']
Installed Middleware:
['django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'pinax.middleware.security.HideSensistiveFieldsMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware']
Traceback:
File "/media/Extra/mysite-env/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
188. response = middleware_method(request, response)
File "/media/Extra/mysite-env/lib/python2.7/site-packages/debug_toolbar/toolbar/loader.py" in render_toolbar
98. return render_to_string('debug_toolbar/base.html', context)
File "/media/Extra/mysite-env/lib/python2.7/site-packages/django/template/loader.py" in render_to_string
169. t = get_template(template_name)
File "/media/Extra/mysite-env/lib/python2.7/site-packages/django/template/loader.py" in get_template
145. template, origin = find_template(template_name)
File "/media/Extra/mysite-env/lib/python2.7/site-packages/django/template/loader.py" in find_template
128. loader = find_template_loader(loader_name)
File "/media/Extra/mysite-env/lib/python2.7/site-packages/django/template/loader.py" in find_template_loader
101. raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))
Exception Type: ImproperlyConfigured at /
Exception Value: Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"
I haven't a clue how to fix this.