As your site gets bigger, as mine does, you can choose to split up your views over multiple .py files based on e.g. functional sections. I recently created a file named views_admin.py. Following the Django docs, I also named files based on contents. So a mydecorators.py, etc ( the my.. prefix is to make sure you don't have name clashes).
Hope it helps. Regards, Gerard. On Jun 15, 6:55 am, Joel Klabo <joelkl...@gmail.com> wrote: > I am working on a simple site right now and the views are pretty easy. > Usually just iterate a loop of objects. But, I am trying to figure out > how a website with all different kinds of data, including a sign in > form, is setup in django. Is that all in one big view? Or, is there > some way to combine them? > > Any insight would be helpful, thank you. -- 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=en.