On Oct 8, 9:32 am, "Alfredo Alessandrini" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm trying to show a static html page...
>
> The html page is in the /media folder.
>
> I've some problem with view funcition:
>
> def list_commands(request):
>     commands = ????
>     return HttpResponse(commands)
>
> How can I load the html page?
>
> Regards,
>
> Alfredo


If it's in a static page in the media directory, you should be able to
serve it via your normal static server - the same one you're using to
serve javascript and CSS.
--
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to