AutoAudit icon indicating copy to clipboard operation
AutoAudit copied to clipboard

Static file directory not found

Open zzc8081 opened this issue 2 years ago • 7 comments

Static file directory not found

zzc8081 avatar Sep 15 '23 03:09 zzc8081

Static file directory not found

could you please provide more information?

ddzipp avatar Sep 18 '23 06:09 ddzipp

I have the same question. Can't find the static file used in Django framework? Does the project have this file?

mengxinru avatar Sep 19 '23 03:09 mengxinru

The directory sandbox contains all the static files used in the Django framework. Specifically, sandbox itself can be viewed as a complete Django project, where all files required for boosting Django are inside sandbox.

lilBuffaloEric avatar Sep 21 '23 03:09 lilBuffaloEric

<link rel="stylesheet" href="/static/css/font-awesome.css"/>
<link rel="stylesheet" href="/static/css/bootstrap.css"/>
<link rel="stylesheet" href="/static/css/styles.css"/>
<link rel="icon" href="/static/images/favicon.png"/>

chenliqiang1982 avatar Sep 21 '23 09:09 chenliqiang1982

The directory sandbox contains all the static files used in the Django framework. Specifically, sandbox itself can be viewed as a complete Django project, where all files required for boosting Django are inside sandbox.

sandbox dosen't contains "static"

chenliqiang1982 avatar Sep 21 '23 09:09 chenliqiang1982

I have the same question. I followed the steps to start the django project, but the page has no css styles, and the terminal reports the informations like: [28/Sep/2023 11:50:19] "GET / HTTP/1.1" 200 14226 [28/Sep/2023 11:50:19] "GET /static/css/bootstrap.css HTTP/1.1" 404 1810 [28/Sep/2023 11:50:19] "GET /static/css/font-awesome.css HTTP/1.1" 404 1819 [28/Sep/2023 11:50:19] "GET /static/css/styles.css HTTP/1.1" 404 1801 [28/Sep/2023 11:50:19] "GET /static/images/decoration-star.svg HTTP/1.1" 404 1837 [28/Sep/2023 11:50:19] "GET /static/images/autoaudit1.svg HTTP/1.1" 404 1822 [28/Sep/2023 11:50:19] "GET /static/js/script.js HTTP/1.1" 404 1795 [28/Sep/2023 11:50:19] "GET /static/images/header.png HTTP/1.1" 404 1810 [28/Sep/2023 11:50:19] "GET /static/js/bootstrap.bundle.min.js HTTP/1.1" 404 1837 [28/Sep/2023 11:50:19] "GET /static/images/details-1.png HTTP/1.1" 404 1819 [28/Sep/2023 11:50:19] "GET /static/images/details-2.png HTTP/1.1" 404 1819 [28/Sep/2023 11:50:19] "GET /static/images/up-arrow.png HTTP/1.1" 404 1816 [28/Sep/2023 11:50:19] "GET /static/images/favicon.png HTTP/1.1" 404 1813 file_id: None I'm sorry I don't know much about django, but can you give me more details?

Dubean avatar Sep 28 '23 04:09 Dubean

Sorry guys, we have checked our files and added "Static" .This time it should work. Please contact me if you have any problem.

ddzipp avatar Sep 29 '23 16:09 ddzipp