Can't imagine why you would want to do this via CGI, it can't perform very
well. There is a TON of stuff that gets setup during initialization for
wsgi/runserver, etc..
Syntax wise your import is way off since your models do not live in the
Django folder, you can't import them like this.
Hi,
I am creating a widget for one of our projects for the first time. The
script file used calls a python file in cgi-bin/widget.py
Is there a way I can access models of a particular project in widget.py
using import ?
say : from django.*projectname.appname.models* import *
I tried relocating
2 matches
Mail list logo