[Ilugc] [ILUG-C] [Kanchi-LUG] [FSFTN]
- From: lgp171188@xxxxxxxxx (L. Guruprasad)
- Date: Mon, 21 Apr 2014 16:46:35 +0530
Hi Praveen,
On Mon, Apr 21, 2014 at 4:35 PM, praveen s <praveen9482 at gmail.com> wrote:
Yes I did
python manage.py collectstatic command, It collects common javascript, css,
and images... But it'll not collect my custom css files... My files are
stored in current STATIC_ROOT directory...
Please follow the mailing list guidelines
(
http://ilugc.in/mailinglist-guidelines) and avoid top-posting.
Interleaved trimmed posting style is the recommended one. Following
the mailing list guidelines will help you in getting answers to your
questions.
Django will look for static files in a list of predefined locations
and then in STATICFILES_DIR and then copy all of them to the
STATIC_ROOT. So you have to place your custom static files within one
of the folders specified in STATICFILES_DIRS and not place anything in
STATIC_ROOT directory and then run the 'collectstatic' command.
Please provide the answers to the other questions I had asked in my
previous email so that I can try to help you further.
Thanks & Regards,
Guruprasad
Other related posts: