On 5/7/2009 1:01 PM, Jamie Pittock wrote:
> Basically, am I doing things right, and if so which is the best
> solution from the above?

Yup, you are doing things correctly as far as I can tell.

As for creating a custom method or not, it's up to you, it's just a 
convenience wrapper, after all. I don't see much value in this specific 
instance, unless you think the meaning of "get_by_author" may change at 
some point.

p.s. Use spaces instead of tabs in your code. It was extremely hard to read.

-- 
George

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