Alright, example model:

# Baseball
baseball = models.PositiveIntegerField('Baseball Skill Level',
blank=True, null=True, maxlength=4)
baseball_approved = models.BooleanField('Approved', default=False)
baseball_proof = models.ImageField('Proof', upload_to="/images/proof/
baseball", height_field='baseball_height',
width_field='baseball_width', blank=True)
baseball_width = models.IntegerField(blank=True, null=True,
editable=False)
baseball_height = models.IntegerField(blank=True, null=True,
editable=False)

Workflow is this:

1) Person inputs score.
2) Score isn't "valid" (meaning it won't show up on standings) if
'baseball_approved' is false. In order for the score to be approved,
they have to upload an image.
3) Person uploads an image.
4) 'baseball_approved' is marked true.

So, I'm thinking you need to play with views or signals or something
to do this. Any guidance?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to