Wednesday, March 4, 2020

Static files adding in django

in setting.py file add this lines STATICFILES_DIRS = [ OS.path.join(BASE_DIR,'static') ] STATIC_ROOT = os.path.join(BASE_DIR,'assets') create "static" foldername first then give the command in python manage.py collectstatic

python class topic video