Hey Dave, Your homepage, or index view, is nothing more than a (r'^$', 'index',) entry in your urlconfs, and an 'index' view somewhere in your codebase (obviously it doesn't have to be called index). While I've got several apps tied together for any one site, there's usually one app that's more 'central' than the others, and I tend to stick the index urlconf and view in with that app.
If you'd like it to be a little more separate, you could create a separate file (called 'indexview.py', for instance) with one view in it, put that in your root project directory, and add a url regex like this: (r'^$', 'myproject.indexview.index') The key is that r'^$' will pick up a request with no script path (ie '/', ie 'http://www.mysite.com/'). Where you put the view it calls makes very little difference. Hope that helps, Eric On Jul 7, 2008, at 11:52 AM, keegan3d wrote: > > Hey everyone, > > I am a little foggy on how I would go about making a home page, by > that I mean the page that people see when they go to the main address: > www.mysite.com. > > Should I make a "home page" app? or does django have a way of dealing > with this? > > Thanks for the help! > > -Dave > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---