Django - putting static files inside app folder
<p>I've started an django app in an existing project and I'm trying to follow the project's pattern to organize stuff. In other apps I see that the static files are in the app itself, eg: 
File path: <code>appname/static/js/file.js</code>
Javascript, inside the template: <code>&lt;script src="{% static 'js/file.js' %}"&gt;&lt;/script&gt;</code></p>

<p>This works in other apps. I'm trying to do the same but the rendered file url gives me a 404 error.</p>

<p>What should I be checking to make it work? I've looked in the settings file, but there is nothing special there nor in the urls. </p>

<p>Thanks for any help</p>