On Fri, Oct 7, 2011 at 2:31 PM, Oscar Carballal <piz...@gmail.com> wrote:
> Should I split it? Why?

you already have.  splitted in apps, which is often the best way.


but, since most of the 'business methods' code should be in the model
(and not in the views as many PHP-refugees tend to do), sometimes a
models.py with just five models can grow significantly.  in that case,
some extra splitting can help; either turn models.py into a directory,
or turn models into thin wrappers for external code (in 'utils.py' or
similar)

-- 
Javier

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to