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: appname/static/js/file.js
Javascript, inside the template: <script src="{% static 'js/file.js' %}"></script>
This works in other apps. I'm trying to do the same but the rendered file url gives me a 404 error.
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.
Thanks for any help