On Tue, Apr 23, 2013 at 2:59 PM, Nac Temha <nacctte...@gmail.com> wrote:
> Hi,
> I want use frameset in template. But I am getting error. How can I use
> frameset in template?
>
> My example:
> …
>
> output is:
>     first.html, didn't match any of these.
>     second.html, didn't match any of these.
>
> Page seperated to two page but there are errors in each frame.

Templates are not HTML pages, they are templates that may be processed
by a view in order to return HTML.

If you create a static HTML page, and only put it in your templates
directory, it will not be accessible from the web.

If you want your template to be interpolated (ie template variables
and template tags work), then the template must be served by a view.

If you just want static HTML pages, then you can use the staticfiles app:

https://docs.djangoproject.com/en/1.5/ref/contrib/staticfiles/

Cheers

Tom

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


Reply via email to