Problem with ForeignKeys that references a huge table

2007-12-20 Thread GodOfGeeks
Hello, I will start with the code directly which will make it much easier to explain:) class ProceedingsEditor( models.Model ): contact = models.ForeignKey( Contact ) The point here is that the contact table is a 10,000 or so field so a drop down list is none sense Now

How to make fields with editable=False visible in the Admin interface

2007-12-20 Thread GodOfGeeks
Hello all, I have a problem and I have been googling around for many days for the solution without any hope. It will be great if someone can help me out with it. I have a model Called 'Country' with the following fields male_count = models.SmallIntegerField( null=True, blank=True, edita

Re: OS X 10.5 and MySQLDB compile issues

2007-11-09 Thread GodOfGeeks
can u give me more info about the MySQL version and the commands u used for compiling On Nov 9, 4:19 pm, Roboto <[EMAIL PROTECTED]> wrote: > Help, has anyone got this to work? I've applied the patches to > _mysql.c and tried running it but it still continues to say that I am > missing the librar

Customizing the Django admin interface

2007-11-09 Thread GodOfGeeks
Hello all, I would like to add a new button to the searching page called "Convert to CSV". When I press the button, I want to covert the currently displayed results to a CSV (Comma separated values)format. if you could give me some guide lines about how to do this I would be really grateful. Wh