Re: Doubts about static files

2017-08-30 Thread mohammad k
STATIC_URL = '/static/' STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'firstdjango', 'static'), ) STATIC_ROOT = '/Users/mk/Desktop/api/New folder/' : When you run collectstatic files moves files from static files from static folder to desktop. add this settings to the settings.py On Wed, Aug 30,

Re: Doubts about static files

2017-08-30 Thread mohammad k
move the static folder beside the settings.py On Wed, Aug 30, 2017 at 6:32 PM, mohammad k wrote: > STATIC_URL = '/static/' > STATICFILES_DIRS = ( > os.path.join(BASE_DIR, 'firstdjango', 'static'), > ) > STATIC_ROOT = '/Users/mk/Desktop/api/New folder/' : When you run > collectstatic files mo

Re: Doubts about static files

2017-08-30 Thread 'Kristofer Pettijohn' via Django users
Point Apache at static_root. Django apps you install may also include static files, and "collectstatic" gathers all of those together and puts them in one place (under STATIC_ROOT). From: "sarfaraz ahmed" To: "Django users" Sent: Wednesday, August 30, 2017 8:58:05 AM Subject: Doubts abou