On Sunday, March 06, 2011 10:07:07 am schwarzerrabe wrote: > Hi, > > I just recently started using Django to realize a small project, so > I'm really just a beginner. > > My question is: Where do I put a view that doesn't need an own app? > > My project is a library of DVDs, Books and other media types that is > being used by multiple people at once. So I have created an app for my > media and I have also created an app for polls to decide which stuff > to buy next. > > Now I want to create an index page for my project that lists new media > and new polls. Imho this neither fits into the media- nor the polls- > app, because it combines both to create an overview. But it also > doesn't have it's own data, so an app for this view would be overkill. > > So where should I put it? > > Regards, > schwarzerrabe
How is it overkill? Please note that apps do not need to have forms, models, admin access or even views, it can just be a template tag if you feel that's necessary. Mike -- Corruption is not the #1 priority of the Police Commissioner. His job is to enforce the law and fight crime. -- P.B.A. President E. J. Kiernan -- 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.