On Fri, Sep 25, 2009 at 2:59 PM, Aaron <aa...@genieknows.com> wrote:

>
> I have a Django 1.1 project under Windows, and I am using an app that
> uses JavaScript (specifically, Page CMS). The JavaScript is in the js
> folder of the media folder, and I've set MEDIA_ROOT in my settings to
> the full path to the media folder (with backslashes replaced by
> forward slashes). MEDIA_URL is blank.
>
> The problem is that the JavaScript isn't working. When I go to a page
> with controls that use JavaScript, the controls aren't there and
> there's a "jQuery is not defined" error in my browser's error console.
>
> The strange thing is that the same code works perfectly on our Linux
> machines with no apparent differences to the configuration beyond the
> the contents of MEDIA_ROOT.
>

You don't say how you are serving these files.  Are you running the
development server?  If so what does your static server config look like?

Karen

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