Many-to-many with inlineformset_factory - row for each possible value?

2014-02-04 Thread Miles Gard
d. In essence, Item left joined to Site through Allocation. Is this easily achievable? Thanks, Miles -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an e

Cherokee on ubuntu problem.

2010-07-27 Thread Miles
127.0.0.1 www.example.com to /etc/hosts will help but i just get localhost page that tells me cherokee is running:/ Any one can help? Best regards Miles -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Django 1.0.2 Thread safety

2009-07-01 Thread Miles
ested release to upgrade to. Miles --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, se

Django 1.0.2 Thread safety

2009-06-29 Thread Miles
There should be a little warning in the 1.0.2 docs or on http://code.djangoproject.com/wiki/DjangoSpecifications/Core/Threading that it is *not* thread safe. I've hit http://code.djangoproject.com/ticket/10470 on production, applied the patches manually. Please make sure you apply both

Re: Memcached, out of sockets

2009-06-16 Thread Miles
live, or kill it after every request? For us, keeping it alive works, but for others, it might break. You can't really file that as a bug, right? Reopened the original ticket, if it gets rejected, at least people can find the solution on google :P Miles --~--~-~--~~~-

Memcached, out of sockets

2009-06-15 Thread Miles
I've been running the python memcached connector for a while, without much trouble. But just today during a stress test of one of the feeds (read: many many requests expected), I've ran into an out of sockets situation. After every single request, the cache backend forces a disconnect from all

Re: Django + Apache + mod_wsgi + Oracle -> threading problems?

2009-06-15 Thread Miles
is not a bug but Django's own wrapper doesn't deal with this > problem, how do I deal with it? Should I simply create a new database > connection for every single web request? > > James Connections aren't thread safe - you have to ensure ever

Re: How do you handle scheduled downtime?

2009-06-14 Thread Miles
We have a default virtual host configured to show a maintenance page, so when we disable the django virtual host, everything gets direct there. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Memory usage

2009-06-12 Thread Miles
On Jun 12, 4:43 am, Graham Dumpleton <graham.dumple...@gmail.com> wrote: > > On Jun 12, 11:51 am, Miles <boo...@gmail.com> wrote: > > If someone has an idea how to get memory usage at about the same with > > lower cpu cost than a full GC every request, pleas

Memory usage

2009-06-11 Thread Miles
Or rather - how to keep the server from blowing up. I've searched the web before, but nothing I've found solves the problem. Some background info - I'm running worldoflogs.com, a site that gets around 100 concurrent requests during rush hour and still growing rather rapidly. Django powers the

file upload in 0.91 - form widget connection??

2006-05-12 Thread Frank Miles
As part of my web-app, I would like to allow users to upload files. Towards this end I have a model field: zipfile = meta.FileField(upload_to =".") This has a custom manipulator with the field line: formfields.FileUploadField(field_name="zipfile"), and a template entry of:

Project Organization

2006-05-05 Thread Miles
of one Django installation? I see the sites table and site_id setting, but haven't seen much about how best to use them. thanks in advance, Miles --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django us

django-admin init won't

2006-04-04 Thread Frank Miles
Newbie problem ... While django-admin.py startproject myproject worked, other django-admin actions (e.g. init -- for setting up user authentication) don't. I tried setting DJANGO_SETTINGS_MODULE using both '/' and dotted directory notation, and using long and short paths to the settings file,

Re: Apache vs. Django ?

2006-03-15 Thread Frank Miles
Thanks, Ian, for trying. Following your recommendation to SetEnv DJANGO_SETTINGS_MODULE myproject.settings then on the first try the error message becomes: Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File

Apache vs. Django ?

2006-03-14 Thread Frank Miles
Hi, I am new to Django. The tutorial all went fine, but I'm having no success in getting Apache to yield anything useful. I have probably done something truly stupid -- and hopefully obvious -- and would appreciate someone pointing out my error(s). System: Debian/Linux (Etch/testing: