fcgi and shared hosting

2006-10-22 Thread peks
Greetings, i've setup django on my shared hosting at asmallorange. i've used tutorial on aso forum, which is quite out-dated. anyway, i managed to set it up, but now i get some wierd behaviour of django: sometimes i can see admin interface, sometimes i cannot, but i always see this error: [Sun O

Re: URL generation, symbolic referencing possible?

2006-10-22 Thread orestis
ed chan wrote: > Thanks Don, I looked at urlresolvers.py and it is exactly the type of thing > i'm looking for. This thread was posted, as you said, several months ago. > Are there any plans to standardize this feature / implementation? > > Ed. > It is already in trunk http://code.djangoproject

Re: fcgi and shared hosting

2006-10-22 Thread orestis
Well, my experience is: You should totally make sure that there are no errors in your application. Even small ones that normally wouldn't cause django to hiccup may cause strange things with FastCGI. Also you should add the needed 404 and 500 pages needed for FastCGI. Check about 404 errors from

Re: unique_together

2006-10-22 Thread RajeshD
Hi Seemant, > >http://www.djangoproject.com/documentation/model_api/#unique-togetherI guess > >I must have read the description wrong (I still don't see how > the description implies that a NULL field gets ignored or whatever). No, you're right that the unique-together description does not expl

Re: A modest plea

2006-10-22 Thread Julio Nobrega
Does Trac allows to disable the priority field? At least make it only available to certain users? Because I don't think this will never stop. Every place I've worked where we allow our costumers to tell the priority of a request, this happens. In fact, if we used a scaled priority, say, 0-10,

Re: A modest plea

2006-10-22 Thread [EMAIL PROTECTED]
I agree that end users often aren't very accurate with respect to gauging the priority of a bug. I think restricting the priority field to certain qualified users makes a lot of sense. If that is the path chosen and some people feel left out, perhaps someone could deploy a poll app which would li

Re: A modest plea

2006-10-22 Thread Adrian Holovaty
On 10/22/06, Julio Nobrega <[EMAIL PROTECTED]> wrote: > Does Trac allows to disable the priority field? At least make it > only available to certain users? Frankly, I don't use the priority field in Django's Trac at all. Well, scratch that. I do use it, but in only one respect: to revert thing

Re: A modest plea

2006-10-22 Thread Don Arbow
On Oct 22, 2006, at 9:29 AM, Adrian Holovaty wrote:With that said, I'm wondering whether we can completely disable thatfield. Any Trac experts around?Should be easily doable:http://trac.edgewall.org/wiki/TracTicketsMany of the default ticket fields can be hidden from the ticket web interface simply

install svn downloaded apps

2006-10-22 Thread Picio
Hello I hope this is not a DUMB question: Is there a step by step guide about how to install an application downloaded from the web? Let's say you have someone putting his good django-powered app on the web, under GPL. You achieve to download it with svn. What's next? Picio --~--~-~--~

Re: mod_python + sqlite3 does not work

2006-10-22 Thread Baczek
A common problem is that even though the db file is writeable, the directory it's in isn't, and it has to be because sqlite needs to make a logfile there. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user

Re: ImageField

2006-10-22 Thread Ramdas S
Hi,This will not work. This is because, ImageField will throw up all the instances created of Images. Suppose you have 100 stories already with 5 pics each. Your admin window will show all the 500. This will be cumbersome for someone filling the pages. I even tried with default = None. It does'nt w

mod_python + sqlite3 does not work

2006-10-22 Thread anna
Hi, I am trying to move a django application from one server another. The old server is a Fedora Core 4 server with python-2.4.3, mod_python-3.1 and sqlite-3.1. The new server is CentOS 4.4 (AMD64). This server is depends on a python 2.3 rpm. As I understand it, it is discouraged to upgrade the

Re: install svn downloaded apps

2006-10-22 Thread Antonio Cavedoni
On 22 Oct 2006, at 20:22, Picio wrote: > Let's say you have someone putting his good django-powered app on > the web, under GPL. > You achieve to download it with svn. What's next? Put it somewhere Python can see it, add an entry with the app name to your settings.py file, in the INSTALLED_AP

Re: mod_python + sqlite3 does not work

2006-10-22 Thread anna
Baczek wrote: > A common problem is that even though the db file is writeable, the > directory it's in isn't, and it has to be because sqlite needs to make > a logfile there. Thanks, I checked that, I even made an installation where I did a chmod -R 777 myprojectdir. And I put the database file

Re: mod_python + sqlite3 does not work

2006-10-22 Thread Malcolm Tredinnick
On Sun, 2006-10-22 at 19:42 +, anna wrote: [...] > AttributeError: 'str' object has no attribute 'close' > #end error [...] > When I changed to mysql, everything worked fine, so nothing is wrong > with the installation itself. > > I appreciate any ideas. The way Django handles database conn

Re: mnemosyne - a django wiki

2006-10-22 Thread [EMAIL PROTECTED]
Hi Guys, David: This was mainly written as a private / small user wiki, so user addition is done via django-admin.py or the admin section. I've been meaning to make this easier by taking more advantage of Django's user system (when I work out how to do this, IIRC James Bennett had a good guide up

Deleting all objects (undesired behavior)

2006-10-22 Thread samuraisam
I have a model [http://paste.e-scribe.com/2236/] which, after I populate with a few items (with different content types, object id's, different everything...), I'll call .delete() on an instance of *one* of them and it deletes *all* of them. It only fires one signal, and thus, the file field's del

Filter to check if a value/key exists inside a list/dict

2006-10-22 Thread João Cruz Morais
Hi there, Some time ago I've submitted this filter - http://code.djangoproject.com/ticket/2741 - because i thought it was too simple and obvious to be left outside the builtin pack. Adrian rejected the purposal, and never said why, so I'm wondering, do you know any other way to achieve this fi

How do I set default value to None or empty in a ManyToManyField

2006-10-22 Thread Ramdas S
Hi,How does the attribute default in models work?I need a ManyToManyField column to iniatilize as an emplty listbox. Is this possible? I tried default =None and default=0. It does not work. Any alternatives Here is code exampleclass Image(models.Model):    image = models.ImageField(upload_to="image