Templates not found #357
Unanswered
TheSteveBurgess
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Interesting. The code that does the autodiscovery is here: https://github.com/EmilStenstrom/django-components/blob/master/django_components/__init__.py#L22 - specifically line 22. That file is run when that package is imported, typically as the package is added as to INSTALLED_APPS. Can you verify that that line is run in your case? |
Beta Was this translation helpful? Give feedback.
0 replies
-
That line is definitely being run. Now i know that it "should" work I'll put aside some time to figure out what's going on. I'd imagine it's got to be something specific to my setup. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In the auto generated component it says
"Templates inside
[your apps]/components
dir and[project root]/components
dir will be automatically found"That's not happening for me. I have to manually add the "[your apps]/components" file path to the to DIRS config option in TEMPLATES or i get a "TemplateDoesNotExist" error.
Am i missing something?
Beta Was this translation helpful? Give feedback.
All reactions