I understand the mapping of urls.py but I guess I'm not clear on a few things to begin with, like what is the equivalent to an index.html page in django? I know that the system works off of a template system like using "base.html" as the design skeleton for a site and extending that system with calls to different views, but what happens when I want to just request the index page for a django site? Let's say I register and add a subdomain to my Dreamhost account say... mysite.com, when I issue the startproject command as django-admin.py startproject mysite is there some sort of connection between the two? Do I scrap the Dreamhost generated directory "mysite.com" and the actual command I should be issuing is django-admin.py startproject mysite.COM? What is returned for an index page if there is no ndex.html or index.php?
Thanks, Jason On Nov 1, 1:50 am, "Low Kian Seong" <[EMAIL PROTECTED]> wrote: > Finding out a bit about urls.py and how it functions would do a world > of good. It is very flexible and powerful once you learn how to wield > it. > > Low Kian Seong > > http://lowkster.blogspot.com > > > > On Sat, Nov 1, 2008 at 5:20 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I'm new toDjangoand it's taken me a while to get things setup > > correctly on Dreamhost. I've done the tutorials on my local machine > > prior to setting things up on Dreamhost but it seems like I'm missing > > instructions on how to actually useDjango. Yes, I've read the "Using > >Django" section of the website but I don't even know how/where my > > pages should reside. If I requesthttp://www.mysite.com, how do I > > route that to my "projects" directory where the "mysite" directory > > resides, a symbolic link? - which I tried but just returns a 403 > > error. I'm still used to the traditional "mysite.com" directory which > > contains index.php, contact.php, etc., and I don't understand how the > > directory structure forDjangoworks. It seems like the tutorials just > > show you how to start a project under test conditions and show off the > > built-in admin tools, without really explaining how things are setup > > for an actual website. Maybe this system is over my head... > > > Thanks, > > > Jason > > -- > Low Kian Seong > blog:http://lowkster.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---