my project is working fine on local but on live server(godaddy) its not getting static folder. urls are just
admin/
[name='homepage']
login/ [name='login']
^media\/(?P<path>.*)$
url for static not even located here .
my settings.py
static settings are
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
which are working on local perfectly . and location for static folder is here in image , just a static folder placed.
got it worked , by using STATIC_ROOT ="/home/hmd2knu4x125/public_html/static/" .
By default Cpanal store all the web file inside public_html folder. So I guess static folder is inside it as well. hmd2knu4x125 was my instance name .