Am Dienstag, 13. November 2007 12:00 schrieb [EMAIL PROTECTED]:
> But then this N:M field would only be used some times... it doesn't
> seam as a good way to do this.
>
> I could always create a big app with all the models but I would like
> to be able have apps for each main class so my views.py is cleanly
> separated.

'manage.py startapp' creates 'views.py'. But for every application
that has more then 200 lines of code, I would use create a directory
called 'views' and but views there. Example

views/__init__.py  (Empty. File is needed)
      user.py
      mm.py
      discussions.py

 HTH,
  Thomas

--~--~---------~--~----~------------~-------~--~----~
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