Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-30-2007, 03:08 PM
|
#1
|
Member
Registered: Apr 2007
Posts: 146
Rep:
|
from django.template import Template, gives output
i started the django tutoial , but now i'm stuck
can this be related to corrupted installation or do i need to change settings ,
not really sure what to do
any options suggestions so i can proceed are appreciated
thank you
firedancer
Quote:
from django.template import Template
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.5/django/template/__init__.py", line 918, in <module>
add_to_builtins('django.template.defaultfilters')
File "/var/lib/python-support/python2.5/django/template/__init__.py", line 915, in add_to_builtins
builtins.append(get_library(module_name))
File "/var/lib/python-support/python2.5/django/template/__init__.py", line 904, in get_library
mod = __import__(module_name, {}, {}, [''])
File "/var/lib/python-support/python2.5/django/template/defaultfilters.py", line 5, in <module>
from django.utils.translation import gettext
File "/var/lib/python-support/python2.5/django/utils/translation/__init__.py", line 3, in <module>
if settings.USE_I18N:
File "/var/lib/python-support/python2.5/django/conf/__init__.py", line 28, in __getattr__
self._import_settings()
File "/var/lib/python-support/python2.5/django/conf/__init__.py", line 53, in _import_settings
raise EnvironmentError, "Environment variable %s is undefined." % ENVIRONMENT_VARIABLE
EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined.
|
|
|
|
All times are GMT -5. The time now is 12:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|