I've setup an environmental variable
DJANGO_SETTINGs_MODULE=C:\django\Django-1.1.1\djangotest\mysite\settings
and PYTHONPATH=C:\django\Django-1.1.1\djangotest
I also edited the registry key value for PYTHONPATH
I've got these errors.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\ammulu>python
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from django import template
>>> t = template.Template('My name is {{ name }}.')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python25\Lib\site-packages\django\template\__init__.py", line
166, i
 __init__
    if settings.TEMPLATE_DEBUG and origin is None:
  File "C:\Python25\Lib\site-packages\django\utils\functional.py", line 269,
in
__getattr__
    self._setup()
  File "C:\Python25\Lib\site-packages\django\conf\__init__.py", line 40, in
_se
up
    self._wrapped = Settings(settings_module)
  File "C:\Python25\Lib\site-packages\django\conf\__init__.py", line 75, in
__i
it__
    raise ImportError, "Could not import settings '%s' (Is it on sys.path?
Does
it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings
'C:\django\Django-1.1.1\djangotest\mysit
\settings' (Is it on sys.path? Does it have syntax errors?): No module named
C:
django\Django-1.1.1\djangotest\mysite\settings

please help!
thanx in advance
-- 
Lalla
Have a Good time!!!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to