On 05/20/2011 04:38 AM, BobX wrote:
The top page question . . .  the_simplest_  option (from my
experience) is to generate a small stub routine that has index.html as
a template and use render_to_response to shoot that out when the user
goes to URL http//mysite/ (or whatever you want). Just because you're
using index.html as a template doesn't mean that it needs to contain
anything other than normal HTML. The site I'm developing at the moment
has "dummy" placeholders that do exactly that, so I know it works.

On 05/19/2011 11:41 PM, Mike Dewhirst wrote:
> Creating a "home" page is fairly simple. In urls.py you need to recognise a 
"non-link" which just means www.mydomain.com/ all by
> itself and make that call a view which renders the particular template which 
you want displayed.

Thanks!

Very helpful,

John Griessen

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected].
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.

Reply via email to