Hi,

You can't (and you shouldn't) use file urls in your original source but should let the Django handle urls to them for you.

There is dedicated part about static file serving in documentation [1][2].

And if you really think that you're deploying your project to somewhere you really expect everyone to have same directory structure on their machines as you do? And even more, you think people really would appreciate browser to load arbitrary files from a filesystem? :)


[1] https://docs.djangoproject.com/en/1.3/howto/static-files/
[2] https://docs.djangoproject.com/en/1.3/ref/contrib/staticfiles/

--

Jani Tiainen

On 08/16/2011 09:23 AM, Adam Zedan wrote:
okay going to error ansole of firefox here is what i got

Error: Slick is not defined
Source File: http://127.0.0.1:8000/db/
Line: 37

which is : grid = new Slick.Grid("#myGrid", data, columns, options);

and the warnings are
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to file:///D:/Django-1.3/django/bin/SlickGrid/slick.grid.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to file:///D:/Django-1.3/django/bin/SlickGrid/slick.core.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to 
file:///D:/Django-1.3/django/bin/SlickGrid/lib/jquery.event.drag-2.0.min.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to file:///D:/Django-1.3/django/bin/SlickGrid/lib/jquery-1.4.3.min.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to file:///D:/Django-1.3/django/bin/SlickGrid/slick.grid.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to file:///D:/Django-1.3/django/bin/SlickGrid/slick.core.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to 
file:///D:/Django-1.3/django/bin/SlickGrid/lib/jquery.event.drag-2.0.min.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to file:///D:/Django-1.3/django/bin/SlickGrid/lib/jquery-1.4.3.min.js.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to file:///D:/Django-1.3/django/bin/SlickGrid/examples/examples.css.
Security Error: Content at http://127.0.0.1:8000/db/ may not load or
link to 
file:///D:/Django-1.3/django/bin/SlickGrid/css/smoothness/jquery-ui-1.8.5.custom.css.

I think it cant link to those files when rendered or something... not
sure though ?? what do u guys think??

On Aug 16, 11:01 am, Landy Chapman<landy.chapm...@gmail.com>  wrote:
 From what I can tell it's not your fault. have a look at:
  http://code.google.com/p/slickgrid/issues/detail?id=19

fix might be here
    http://drupal.org/node/1094054#comment-4825024


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