This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.auth.forms import PasswordResetForm | |
from wagtail.core import hooks | |
# Totally can use the same thing for django signal as well | |
@hooks.register('after_create_user') | |
def send_reset_password_email(request, user): | |
reset_password_form = PasswordResetForm( | |
data={'email': user.email} | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"file_exclude_patterns": | |
[ | |
"*.svn", | |
"*.git", | |
"*.hg", | |
"CVS", | |
"*tmp/cache", | |
"*._*", | |
"*.DS_Store" |