Thank you Rob!

> {'template': 'index.html'}

But in that case I have to use Django template file, while my home page is
built with Pyjamas (http://pyjs.org/).

Can I use a Django urlpattern to launch any HTML file, not just Django
tempalte file?

Thank you,
Chris


On Wed, Oct 13, 2010 at 9:46 AM, Robbington <robbing...@hotmail.co.uk>wrote:

> Hi Chris,
>
> I use
>
>
> urlpatterns = patterns('django.views.generic.simple',
>     (r'^$', 'direct_to_template',{'template': 'index.html'}),
>
> )
>
> Where template is the defined template directory in my settings.py
>
> Seems a better way to me, as then if you want to expand your site you
> can just incorperate django's templating language.
>
> Rob
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to