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,
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
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
3 matches
Mail list logo