It's possible, based on my limited knowledge of Django. I think such usage is more like using a Python library. In your case, you need to set the environment variable DJANGO_SETTINGS_MODULE as shown in tutorial 1, e.g. export DJANGO_SETTINGS_MODULE=myproject.settings
- Cheng On Nov 24, 2005, at 6:20 PM, paolo wrote:
I wonder if it's possible to use Django's template engine outside of Django. I tried to import Template from django.core.template but Python interpreter complains about undefined DJANGO_SETTINGS_MODULE.