python - Trying to fix css paths in Django -


enter image description here

i'm working locally on django project bootstrap . structure screenshot above:

i have following in index.html:

<!doctype html> <html lang="en">      <head>        <meta charset="utf-8" />     <meta http-equiv="x-ua-compatible" content="ie=edge" />     <meta name="viewport" content="width=device-width, initial-scale=1" />     <meta name="description" content="" />     <meta name="author" content="" />         <title>landing page - start bootstrap theme</title>       <!-- bootstrap core css -->     {% load staticfiles %}     <link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet" />         <!-- custom css -->     <link href="{% static "css/landing-page.css" %}" rel="stylesheet" />          <!-- custom fonts -->     <link href="{% static "font-awesome-4.2.0/css/font-awesome.min.css" %}" rel="stylesheet" type="text/css" />     <link href="http://fonts.googleapis.com/css?family=lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css" />        <!-- html5 shim , respond.js ie8 support of html5 elements , media queries -->     <!-- warning: respond.js doesn't work if view page via file:// -->     <!--[if lt ie 9]>     <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>     <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>     <![endif]-->      </head> 

in settings.py have:

static_url = '/static/'  template_dirs = (     os.path.join(base_dir,  'templates'), 

when open "http://onetwentyseven.0.0.1:8000/index/", see html bootstrap css styling not present. in dev tools see:

enter image description here

how can fix css paths?

this seems syntax error. if move css directory static>app1>css static>css. should work fine


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -