django-authority icon indicating copy to clipboard operation
django-authority copied to clipboard

admin template folders

Open sehmaschine opened this issue 11 years ago • 3 comments

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?

sehmaschine avatar Oct 31 '13 17:10 sehmaschine

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.

jlward avatar Oct 31 '13 17:10 jlward

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.

sehmaschine avatar Oct 31 '13 17:10 sehmaschine

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

jlward avatar Oct 31 '13 17:10 jlward