The problem with this issue finally had nothing to do with the forms
themselves, but the __unicode__ method of the Image-model.
Older implementations of ImageField had a __unicode__ method of their own
so
def __unicode__(self):
return self.file
worked fine. Now this needs to be
def __unicode
Hi,
I have similar models and wanted to do the same thing. Here's how I
got my inline to work (using your provided models as an example).
class Entry(models.Model):
pub_date = models.DateTimeField('date published')
created = models.DateTimeField(auto_now_add=True, editable=False)
ed
Hi.
I'm stumped and can't figure out a solution for the following:
With the models:
class Entry(models.Model):
pub_date = models.DateTimeField('date published')
created = models.DateTimeField(auto_now_add=True, editable=False)
edited = models.DateTimeField(auto_now=True, editable=Fal
3 matches
Mail list logo