Extend Admin Search Form

2009-11-25 Thread Marco Minutoli
Hi Everybody, I would like to add a complex search form in the change_list.html admin template (for example to add possibility to search something from date to date) Is there a way to do this? Thanks in advance. Marco Minutoli -- You received this message because you are subscribed to the Google

model inheritance with foreign key problem

2009-01-16 Thread Marco Minutoli
I have these three models: class Address(models.Model): name = models.CharField(max_length=100) ## many other fields ## class Meta: ordering = ('name',) def __unicode__(self): return self.name class Organization(models.Model): name = models.CharField(max_le

ManyToMany and save method

2008-11-17 Thread Marco Minutoli
I have this model: class Ticket(models.Model): ## ForeignKey project = models.ForeignKey ( 'Project', null=True, blank=True, verbose_name="Project", ) submitter = models.ForeignKey ( User, related_name="submitter", verbose_na