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
>
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
2 matches
Mail list logo