It depends a lot on the use case.

Does the function operate on a single model? Will it be run when you
already have the instance of the model?

If so, it may be a good case for a model function, since it will
already have access to the object it's a part of. General purpose
helpers can go in views.py, or in a helpers.py or such (and be
imported from there), or wherever :)
--~--~---------~--~----~------------~-------~--~----~
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