-
Notifications
You must be signed in to change notification settings - Fork 5
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
decouple templates: bootstrap, general, user, admin, base, index #32
Comments
I'm not entirely sure where the issue lies for you, so I'll just rattle off a few things: The "admin" folder in templates folder is largely useless - it's a remnant of time I/we was/were working with editing the look of the Django admin console. We've since moved to building our own interface and using decorators. I don't currently recall a "general" or a "users" template, but I should be able to address the others. The other templates are built off "base", which contains a call to the JavaScript files. "Index" extends from "base" and is the home page for a logged in volunteer. Every template that's used by a view with the login_required decorator is extended from "index". Now, could there be a better way of dealing with all of that? Possibly. |
My thoughts were basically twofold:
What do you think? |
I've nothing against setting a standard for names, and it's something I had to do in the last commit or two in order to fix some things. Just have to find every place the names are referenced. Also, if I'm not mistaken (which I likely am), the admin folder in a Django project is the second place Django looks to change the look of the default admin console, so there might have to be a setting changed in that case, if possible. |
It's way too cluttered right now. I can't understand how they all fit together in the least.
The text was updated successfully, but these errors were encountered: