Re: Help with integration of bootstrap and Django 1.4.3

2013-04-20 Thread Michael Hernandez
Yes. Proper root referencing requires the preceeding / in /a/b The django way i have seen is to generally create a /static/ directory Put /static in your static settings rather than /static/assets place your files in respectively named directories such as /static/js /static/css /static/images

Re: Help with integration of bootstrap and Django 1.4.3

2013-04-20 Thread Paras Nath Chaudhary
Yeah Sanjay you're right. my mistake that should be ( /static/ ... instead of static/ ... ) for > Thanks for correcting me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it

Re: Help with integration of bootstrap and Django 1.4.3

2013-04-20 Thread Sanjay Bhangar
On Sat, Apr 20, 2013 at 10:43 AM, Paras Nath Chaudhary < opnchaudh...@gmail.com> wrote: > How I do this is in settings.py: > PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) > STATIC_ROOT = os.path.join(PROJECT_ROOT, '../static') > STATIC_URL = '/static/' > STATICFILES_DIRS = ( > # Pu

Re: Help with integration of bootstrap and Django 1.4.3

2013-04-19 Thread Paras Nath Chaudhary
How I do this is in settings.py: PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) STATIC_ROOT = os.path.join(PROJECT_ROOT, '../static') STATIC_URL = '/static/' STATICFILES_DIRS = ( # Put strings here, like "/home/html/static" or "C:/www/django/static". # Always use forward slashes,