On Nov 13, 5:13 pm, Preston Holmes <pres...@ptone.com> wrote:

> if submission.status == "submitted" and submission.reviews.count > 0:
> submission.status = "pending review"
>

> Are there even simpler ways to do this that I haven't thought of?

answering myself - sorry:

I should just put that logic in the review.save method - no signal
needed

>
> -Preston

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to