I'm Curious ...
and forgetful so here are my random notes
Monday, July 11, 2011
Django reference/link to media/js from apps/myapp/views.py
I had to change a javascript file in media/js/my.js on every refresh of a page (apps/myapp/views.py), the path to open that js file is:
f = open('media/js/my.js', 'r+')
.
See a live demo of this
here
.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment