Tuesday, September 3, 2013

Re: Django-registration reset password templates not getting picked up

Hi Kevin,

You were absolutely correct. Moving 'homepage' to the top made it work. Thanks!

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. 

Vibhu


On Tue, Sep 3, 2013 at 7:55 AM, Kelvin Wong <wongo888@gmail.com> wrote:
Check that your 'homepage' app is above the 'registration' app:

INSTALLED_APPS = (
    'homepage',  # Order matters, this is loaded before others
    'registration',
    'django.contrib.auth',
   ...
)

Order of the apps is significant. Review


As a matter of personal style, I would put them in a project template folder and not in an app templates folder.

K



On Monday, September 2, 2013 7:01:30 PM UTC-7, Vibhu Rishi wrote:
Essentially the below should work (and is working for all) as I have the following template loader:

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
)

--
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.



--
Simplicity is the ultimate sophistication. - Leonardo da Vinci
Life is really simple, but we insist on making it complicated. - Confucius

--
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.

No comments:

Post a Comment