Re: problem with importing "Template" module

2007-09-01 Thread [EMAIL PROTECTED]
so... i \ wefind two way for solving this problem... thank you for supporting me --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Re: problem with importing "Template" module

2007-09-01 Thread [EMAIL PROTECTED]
ok, i find it... there is an other way. befor importing Template in Python interactive interpreter you must set setting in this way: >>> from django.conf import settings >>> settings.configure() >>> from django.template import Template >>> .. --~--~-~--~~~---~--~

Re: problem with importing "Template" module

2007-09-01 Thread Alex Koshelev
In shell: export PYTHON_PATH=/path/to/dir/where/settings.py/script/lies/: $PYTHON_PATH export DJANGO_SETTINGS_MODULE=settings --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Re: problem with importing "Template" module

2007-09-01 Thread [EMAIL PROTECTED]
tanx... i learn django from "http://www.djangobook.com/";, and i do everything in is on "Chapter 4" but i get this error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: problem with importing "Template" module

2007-08-31 Thread Alex Koshelev
You can do in django interactive shell. http://www.djangoproject.com/documentation/django-admin/#shell Or set DJANGO_SETTINGS_MODULE environment variabale ot your project settings.py http://www.djangoproject.com/documentation/templates_python/#configuring-the-template-system-in-standalone-mode R

Re: problem with importing "Template" module

2007-08-31 Thread James Bennett
On 8/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > can anyone help me? any idea? Read the Django tutorial, which will explain how to create a Django settings file and specify it for use when importing/using parts of Django. -- "Bureaucrat Conrad, you are technically correct -- the best

problem with importing "Template" module

2007-08-31 Thread [EMAIL PROTECTED]
hi, i am new to Django and i use Python 2.5.1 and Django 0.96(from official package). when i want to import "Template" class at Python interactive interpreter, i get this error: >>> from django.template import Template Traceback (most recen