B
B
bigtrouble2015-11-09 15:54:39
Django
bigtrouble, 2015-11-09 15:54:39

Is it correct to include the project in INSTALLED_APPS?

Good afternoon, I ran into such a moment and did not find details in the docks:
In jung, the project is created in the
/project.com/project
Main, base template, located in /project.com/project/templates/base.html
But in the template, the static tag does not load /project.com/project/static/if not added projectto INSTALLED_APPS, is it correct to add it there? Or is it better to tune STATICFILES_FINDERS?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bigtrouble, 2015-11-09
@bigtrouble

I figured it out, I forgot to add it to the settings

STATICFILES_DIRS = [str(PROJECT_PACKAGE.joinpath('static'))]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question