Re: clean_xxx field not working - help please

2008-05-12 Thread Brandon Taylor
Specifically, I'd like to use this validation in the admin. Is the best way to do this by overriding the save() method? On May 12, 3:32 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm attempting to do some image validation. Here is my model: > > from django.db import models >

clean_xxx field not working - help please

2008-05-12 Thread Brandon Taylor
Hi everyone, I'm attempting to do some image validation. Here is my model: from django.db import models GROUP_CHOICES = ( ('Home Page', 'Home Page'), ('Tenets Sidebar', 'Tenets Sidebar'), ) class Image(models.Model): group = models.CharField(max_length=20, cho