Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base.html conflicts with my own base template #11

Open
troef opened this issue Aug 11, 2016 · 2 comments
Open

base.html conflicts with my own base template #11

troef opened this issue Aug 11, 2016 · 2 comments

Comments

@troef
Copy link
Contributor

troef commented Aug 11, 2016

The current base template (located at templates/base.html) is substituted by my own templates/base.html. Though this might be a feature in some cases the behavior is unexpected and undesired to me.

Suggested solution is to move base.html into templates/django_dynamic_views/

@andybak
Copy link

andybak commented Aug 11, 2016

Isn't this controlled by the order of apps in INSTALLED_APPS? Can't remember which way round but try swapping your app with dynamic-views in the list.

@troef
Copy link
Contributor Author

troef commented Aug 11, 2016

Shouldn't all templates reside in templates/django_dynamic_views simply to avoid this kind of confusion? The loading order of templates is poorly documented, I don't think we should confuse users by adding unexpected behavior...

Using your suggestion I did manage to find an easy fix for the other issue I raised: #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants