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

admin template folders #19

Open
sehmaschine opened this issue Oct 31, 2013 · 3 comments
Open

admin template folders #19

sehmaschine opened this issue Oct 31, 2013 · 3 comments

Comments

@sehmaschine
Copy link

currently, the admin templates are within the folders "admin" and "authority" – if I'm overwriting certain templates (e.g. permission_change_form.html in folder admin), there might be conflicts with other 3rd–party apps.

therefore, shouldn't we move all templates to "authority"? maybe I'm missing something, but what's the reason for splitting templates to different folders anyway?

@jlward
Copy link
Collaborator

jlward commented Oct 31, 2013

I think you are right. From what I recall if there is an admin folder in templates in django-authority and an admin folder in templates in my project, which ever is later in INSTALLED_APPS will likely overwrite the previous (just a shot in the dark, I have not looked into at at all). I would not be opposed to migrating the admin templates over to the authority folder to fix this problem.

@sehmaschine
Copy link
Author

I think the first project in INSTALLED_APPS overwrites the later ... pretty sure about that one when looking at the code (didn't actually do tests though).

However, I'm just digging into authority and I'm (very) far away from getting the project to work. Guess I need a couple of days to see where this is going.

@jlward
Copy link
Collaborator

jlward commented Oct 31, 2013

Fair enough, like I said it was a shot in the dark :) If you have any questions feel free to let me know.

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