thanks a lot rajesh,
i tried your suggestions but the same issue came up.
i have the feeling that invalid characters or something were being
inserted into the sql table, that's the only thing i can think of when
seeing all of the backslash output in the error message.
anyway, i got a suggestion
On Jan 25, 12:55 pm, todd <[EMAIL PROTECTED]> wrote:
> class Image(models.Model):
> image = models.ImageField(upload_to='/PATH/site/files',
> blank=True, unique=True)
I would suggest renaming the class Image to something else because the
Python Imaging Library provides a class by that same
class Image(models.Model):
image = models.ImageField(upload_to='/PATH/site/files',
blank=True, unique=True)
class Admin: pass
def __str__(self):
return self.image
class Client(models.Model):
name = models.CharField(maxlength=255)
street = models.CharField(maxlength=2
Hi,
> Has anyone got any clues what's happening?
You need to post your model code so people can help you find the
problem.
-Rajesh D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Hi Django users,
I'm new to Django but have manage to build my model and db, all goes
well, till...
I've been trying to upload images, and this goes well enough if in a
table the image has it's own column, but I'd like to re-use images, so
first I tried to making an images table and doing a Fore
5 matches
Mail list logo