Where is the preferred location to put custom templates in Mezzanine 4.x?
Josh's blog post makes it look like they should go in the project
application, but they don't seem to be recognized there. If I link them in
the project root then things seem to work. Suggestions? Thanks.
--
You received
You have two options:
- Use the the top-level "templates" directory defined in settings.py
https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/project_name/settings.py#L199.
You can also change this to whatever path you like.
- You can create a "theme" app and put t
Hi Eduardo,
I think that makes sense. I haven't done a lot of custom templating and
CSS in my project so far, but from what I saw in Josh's blog post it
made it look like the project application should be treated like an
application, but with settings.py and other project level files.
I did
Oh duh, I moved TEMPLATE_DIRS to my local_settings.py and didn't see it at
first. That makes sense why this wasn't working now. Thanks.
On Monday, August 10, 2015 at 3:18:06 PM UTC-5, David Hoese wrote:
>
> Hi Eduardo,
>
> I think that makes sense. I haven't done a lot of custom templating and
Nevermind, I got a little ahead of myself. Obviously, that works for
templates, but if I want to do CSS then I'll need to put it in an actual
application so the "theme" app is likely the best solution.
On Monday, August 10, 2015 at 3:34:30 PM UTC-5, David Hoese wrote:
>
> Oh duh, I moved TEMPLAT
For anyone who reads this later, I commented on Josh's blog and he told me
that the "templates" directory he has in his project application directory
is actually a mistake. He's corrected it now on the blog post. Putting
stuff in "theme" is still the suggested way of doing things.
On Monday, Au