Advertisement
Guest User

Untitled

a guest
Oct 13th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. TEMPLATE_DIRS = (os.path.join(PROJECT_DIR, 'templates'),)
  2.  
  3. from allauth.account.views import SignupView, LoginView
  4.  
  5.  
  6. class MySignupView(SignupView):
  7. template_name = 'my_signup.html'
  8.  
  9.  
  10. class MyLoginView(LoginView):
  11. template_name = 'my_login.html'
  12.  
  13. <form id="signup_form" method="post" action="{% url 'account_signup' %}">
  14.  
  15. <form id="signup_form" method="post" action="">'
  16.  
  17. {% block content %}
  18. // your customized html for signup form
  19. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement