Indeed! I knew it was somewhere, I simply could not find where!

Maybe it would be useful to add a little mention about this (a
sentence or a link) in
http://www.djangoproject.com/documentation/url_dispatch/

Thanks a lot,

G

On 7/26/06, Sean <[EMAIL PROTECTED]> wrote:
>
> Could you be looking for something like direct-to-template?
> http://www.djangoproject.com/documentation/generic_views/#django-views-generic-simple-direct-to-template
>
>
> Guillermo Fernandez Castellanos wrote:
> > hi,
> >
> > I have an index.html file with django template language.
> > I could do a wrapper in a views.py to display it, in which i would
> > simply make a render_to_response.
> >
> > But I was just wondering if there was a quicker way to do this
> > directly in the urls.py file, something like (I'm inventing here):
> > urlpatterns = patterns('',
> >     (r'^$', 'django.shortcuts.render_to_response', "path/to/index.html"),
> > )
> >
> > I've searched the documentation but it seems to slip to me...
> >
> > Thanks,
> >
> > G
> >
> > >
> >
> >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to