Hi, I did my own homepage (www.haruki.eu) where I have several "applications" done together.
As I understood after asking in the list and looking at several project svn trees, the 2nd way seems to be prefered for a sizable application. It allows modularity and reusability. What I do is have a name for the general project and all the apps there. Each app has its own urls.py, and I let users define their own urls.py that will include the urls.py of each application depending of the ones they want to add or use. You can have a look at the code here: http://www.guindilla.eu:8000/guindilla/trunk/ Hope it helps. G On 8/29/06, casibbald <[EMAIL PROTECTED]> wrote: > > I have been through the Django tutorial, but there is something it does > not clearly outline. > > After creating a project, I have to create my first App, which in the > tutorial it was Polls. > > I now want to start working on my own Application and wonder what the > best structure is for a sizable application which I hope it will grow > to as I learn more. > > So option 1. > > Project --- App -- Views (multiple views for my whole project) > > Option 2. > > Project --- App1 -- Views > Project --- App2 -- Views > Project --- App3 -- Views > Project --- App4 -- Views > > Multiple component apps to the whole project? > > and if option 2 is the better route to go, then for example would the > following be a good example. > > > Project --- Auth -- Views - Registration > Login > Pass-Reminder > Project --- Dashboard -- Views - Welcome > Report 1 + n > Project --- Account -- Views > Address > Credit Details > Project --- App + n -- Views > > > The issue I have been having is this, how best to then setup my URLs?, > as the tutorial does not explain how to have many apps in the same > urls.py file > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---