Hi,
I'm loosing my pic when I edit the model on the admin in TABULAR mode.
I have the following model:
class news(models.Model):
name = models.CharField(maxlength=60)
pub_date = models.DateField(default=datetime.now)
content = models.TextField()
class Admin:
pass
class news_pic(models.Model):
parent = models.ForeignKey(news, edit_inline=models.TABULAR)
pic = models.ImageField(upload_to='news', core=True)
Any ideas?
Regards.
Enrico
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---