I'm not entirely
happy about.
N.
On Tuesday, 17 July 2012 22:00:33 UTC+1, Newt wrote:
>
> I've spent a little more time on this, and I've been trying out python
> mysite.fcgi
>
> I've now got:
>
> os.environ["DJANGO_SETTINGS_MODULE"] = "set
.fcgi runs
with no errors, then perhaps the website will also work...
N.
On Tuesday, July 17, 2012 12:01:00 AM UTC+1, Jarrett Chisholm wrote:
>
> Hey Newt,
>
> not sure if this is your problem, but I think
>
> os.environ["DJANGO_SETTINGS_MODULE"] = "settings.py&q
I've spent a few days trying to get this to work on an Apache2 install.
I have this in my httpd.conf file:
Alias /django /stuff/django/proj1/proj1
Options +execCGI
AllowOverride FileInfo
Order allow,deny
Allow from all
This is the .htacess file:
AddHandler f
(Sorry if this is a repost - it isn't showing up in the groups for me)
I've tried to set up Django to use a sub-directory on my local PC - I'm
using Apache2.0.
This is the relevant part from httpd.conf:
Alias /django /stuff/django/proj1/proj1
Options +execCGI
AllowOverride Fil
u are only running the one web application on the server,
> do things improve it you add directive:
>
> PythonInterpreter main_interpreter
>
> to Apache configuration.
>
> If it doesn't, not the same issue as pyscopg2.
>
> Graham
>
> On Apr 25, 9:13 pm, Newt
ago.
Ales
On Apr 25, 12:40 pm, Graham Dumpleton
wrote:
> On Apr 25, 12:37 am, Newt wrote:
>
>
>
> > Hello,
>
> > in my latest application I have models with like 15 Decimal fields,
> > with different decimal places.
>
> > when I try to save an object of th
e "/usr/lib/python2.5/decimal.py", line 617, in __new__
> raise TypeError("Cannot convert %r to Decimal" % value)
> TypeError: Cannot convert Decimal("0") to Decimal
>
> http://mail.python.org/pipermail/python-list/2008-May/665477.html
>
> On Apr 24, 3:37 pm
Hello,
in my latest application I have models with like 15 Decimal fields,
with different decimal places.
when I try to save an object of that model, I get sometimes (often,
but not always) this error:
File "/home/newt/django/1.0/sites/cdms/item/views.py", line 1054, in
8 matches
Mail list logo