If you can hold out for a little while longer, django 1.3 is going to have a fix for this sort of thing:
http://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/ Alex On Fri, Feb 4, 2011 at 11:15 AM, Allan Stavely <[email protected]> wrote: > > I found that the root cause of my problem was that I hadn't copied the new > static/js directory to my store the last time I upgraded my Satchmo from the > tip. My bad, but just as a suggestion... > > As a matter of directory organization, should those files be in my store > directory at all? Couldn't the js files work like the template files: > default versions live in the installation, and your store directory contains > only the files that override the default versions? > > In my case, I haven't customized any of the js files, so my static/js > directory could then be empty. > > Similarly, perhaps, for the other directories in static/ . > > Thanks again, folks, > > - Allan > > > On Thu, 3 Feb 2011, Chris Moffitt wrote: > >> You should copy the correct files into your static dir. >> >> Here's what it should look like - >> >> https://bitbucket.org/chris1610/satchmo/src/f762f5a91b0a/satchmo/static/js/ >> >> -Chris >> >> On Thu, Feb 3, 2011 at 3:18 PM, Allan Stavely <[email protected]> wrote: >> >>> >>> Hmm, the 404 suggestion may lead us somewhere. In host.access.log I have >>> a >>> number of lines that look like >>> >>> ... "GET /static/js/jquery-1.4.2.js HTTP/1.1" 404 1782 ... >>> >>> In my /static/js/ directory I have no file jquery-1.4.2.js . >>> Other files such as /static/js/jquery.form.js are there and >>> apparently get served OK. >>> >>> - Allan > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
