> Django sites can help take a look at:
> 
> http://docs.djangoproject.com/en/dev/ref/contrib/sites/?from=olddocs#django.contrib.sites.django.contrib.sites.models.Site
> 

Thank you, but Using Django isn't my issue.

I want to setup a custom environment variable on cherokee, and get the
value on my running website.

I just write a simple python script to run under cgi, adding a TEST
variable with the value TEST

#/usr/bin/env python
import os
print (os.environ['TEST'])

It raise an non key exception, How does work the custom environment
variables?

> 
> saludos
> 
> 
> Leonel
> 
> 

-- 
Mario César Señoranis Ayala

Attachment: signature.asc
Description: Esto es una parte de mensaje firmado digitalmente

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to