Re: Django-registration reset password templates not getting picked up
I put the overridden templates (auth, registration, etc) in a project templates folder in the project root. You have to set it up though in your settings.py as I noted earlier. The filesystem loader is still right there above the app_directories loader. To me the overridden templates don't seem to make sense in an app even if it does nothing but serve the homepage.
Templates that belong to certain apps are put into application templates folders. That makes more sense to me.
-- Templates that belong to certain apps are put into application templates folders. That makes more sense to me.
This is just personal dogma though.
On Tuesday, September 3, 2013 9:59:24 AM UTC-7, Vibhu Rishi wrote:
K
On Tuesday, September 3, 2013 9:59:24 AM UTC-7, Vibhu Rishi wrote:
I was doing all my templates within a single directory pre 1.5 . But then in 1.5 they changed it, so I got a bit confused but then started putting the templates within the app. Not sure if this is good or bad.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home