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
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
>>> ..
--~--~-~--~~~---~--~
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
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,
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
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
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
7 matches
Mail list logo