Thanks Kelvin for the response. However, I am not sure I understand why this is to be done.
currently my TEMPLATE_DIRS is not having anything. it is as follows:
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)
So far, all the other template html files get picked up - except the ones related to the password management ones.
Vibhu
On Mon, Sep 2, 2013 at 6:37 AM, Kelvin Wong <wongo888@gmail.com> wrote:
TEMPLATE_DIRS needs to have the location of the templates. As long as those templates are being picked up and one is called 'password_reset_form.html' it should work.--One of my apps has this form at:/my_project/templates_global/registration/password_reset_form.htmlIn /my_project/my_project/settings.pyPROJECT_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))TEMPLATE_DIRS = (os.path.join(PROJECT_ROOT, 'templates_global'))The templates were all copied from django.contrib.admin.templates.registrationK
On Saturday, August 31, 2013 11:02:14 PM UTC-7, Vibhu Rishi wrote:I am getting a bit of a problem with django-registrationwhat else do i need to do ? As per the django-registration documentation, the auth_urls.py is supposed to be automatically included with the default backend. But apparently, there is some disconnect here.
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