Thanks for the reply, below is my Project model
from django.db import models
class Project(models.Model):
title = models.CharField(max_length=100)
path = models.CharField(max_length=100,help_text='This should be
the folder name')
image = models.ImageField(upload_to='/images/projects/')
date = models.DateField(help_text='The projects are ordered by
date')
active = models.BooleanField()
def __unicode__(self):
return u'%s' %(self.title)
On Aug 10, 9:24 pm, wayne <[email protected]> wrote:
> > When i try and add a project in the admin i get the error: 'unicode'
> > object has no attribute '_committed' . I'm quite certain it's an issue
> > with the image field.
>
> Well, not to be coy, but you have a unicode string somewhere whose
> _committed value you are trying to access. Problem is, the unicode
> string does not have this particular value/method.
>
> That's what I'm guessing without seeing the code, anyway.
>
> Wayne
--
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?hl=en.