Skip to content
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

password_reset_recover blank screen #57

Open
ai2010 opened this issue Jun 28, 2017 · 2 comments
Open

password_reset_recover blank screen #57

ai2010 opened this issue Jun 28, 2017 · 2 comments

Comments

@ai2010
Copy link

ai2010 commented Jun 28, 2017

Hi,

I think I implemented the library correctly:
settings.py:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app10minmentors',
'password_reset',
]
urls.py:
url(r'^password_reset/',include('password_reset.urls',namespace="password_reset")),
signin.html

{% block content %}


{% csrf_token %}

Sign In







Sign in »

    </form> 
	<p align = Center ><a href="{% url "password_reset:password_reset_recover" %}">Forgot Password </a></p> 

{% endblock content %}

but when I click on 'Forgot Password' I can see a blank screen... Any Idea? Thanks in advance

@AkiyamaKunka
Copy link

Same issue here.. Can anyone help ? Thanks!

@AkiyamaKunka
Copy link

Bro, just give you what I did which solved my problem. I wrote {% block body%} in all my html file, and the inherence works good until I wanna set "password_reset" function. The I changed the {% block body %} to {% block content %}, then the bug which html went a blank page just solved. I think you should add a {% block title %} {% endblock %} in your signin html, and check the key words like " content " " title" in the html inherence. I think the package would only recognize those "key words" defined by Django, so if you wanna a customize it, it may probably not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants