Re: Images. Stylesheets. Javascripts. Where do I put 'em.

2006-01-04 Thread limodou
2006/1/4, iGL <[EMAIL PROTECTED]>: > > on windows, MEDIA_URL and MEDIA_ROOT, did not quit help; I haven't > understood why... MEDIA_URL is used for file or image upload. > > all I did then was to put: > > in urls something like > r'^m/(?P.*)$', 'media', {'document_root': > 'D:\\django\\testapp\\m

Re: Images. Stylesheets. Javascripts. Where do I put 'em.

2006-01-04 Thread iGL
on windows, MEDIA_URL and MEDIA_ROOT, did not quit help; I haven't understood why... all I did then was to put: in urls something like r'^m/(?P.*)$', 'media', {'document_root': 'D:\\django\\testapp\\media\\'}), and in views from django.views.static import serve media = serve and in the base

Re: Images. Stylesheets. Javascripts. Where do I put 'em.

2005-12-31 Thread wiz
On Птн, 2005-12-30 at 20:42 +, scum wrote: > I cannot figure out the `official` place to put images, stylesheets, > and javascripts and the process to access them. Can someone explain > their method of doing this. I'm just root-linking all that stuff to '/media/css/base.css'(js, img, etc.) an

Re: Images. Stylesheets. Javascripts. Where do I put 'em.

2005-12-30 Thread James Bennett
On 12/30/05, scum <[EMAIL PROTECTED]> wrote: > I cannot figure out the `official` place to put images, stylesheets, > and javascripts and the process to access them. Can someone explain > their method of doing this. Except for the location you define with MEDIA_URL and MEDIA_ROOT, there is no "o

Re: Images. Stylesheets. Javascripts. Where do I put 'em.

2005-12-30 Thread Maniac
scum wrote: I cannot figure out the `official` place to put images, stylesheets, and javascripts and the process to access them. Can someone explain their method of doing this. As far as I know there is no 'official' place. But I think the good idea is to store CSS and JS with your project

Images. Stylesheets. Javascripts. Where do I put 'em.

2005-12-30 Thread scum
I cannot figure out the `official` place to put images, stylesheets, and javascripts and the process to access them. Can someone explain their method of doing this. I was thinking of making a CSS_URL in the settings.py file and then calling {{CSS_URL}}/styles.css, but I can't manage that because