Inside my app folder I have folder static and inside css, js, and img folders.
It is ok or should I keep it like this static -> app_name -> css,js,img?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Similar to with templates it is recommended to namespace your static resources with a directory inside of static with the app name. However this is really only useful if the application is going to be reused on multiple projects with the possibility overriding the static resources in other deployments. Since Django encourages building all applications as reusable components this inner directory is recommended but again not required.