On 17 Jun 2011, at 23:07, Satyajit Sarangi wrote:

> 
> This is my template .
>    <script src="../OpenLayers.js"></script>
> 
> Where should I store the OpenLayers-2.10 folder for this template to
> work ?

Almost certainly there is no such place. Assuming your web page is at 
http://example.com/a/path/to/page, you've told it to look for the JS file at 
http://example.com/a/path/OpenLayers.js which is highly unlikely to map to 
something that gets served by your webserver.

You need to read the documentation on media files, and then put the path to 
your media root in the script tag.

Malcolm

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