On Jun 29, 9:23 am, alecs <alecs....@gmail.com> wrote:
> Hi! If I have some html file somewhere (i.e. /var/file), how to
> redirect user to it? It is not a template and not in a template
> folder. Thanks :)

It needs to be somewhere the webserver can see it. Ideally you'd put
in the same place as the rest of your static content (CSS, JS), then
you can use the MEDIA_URL setting to access it.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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 
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