Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django import template
- from accounts.forms import LoginForm
- from django.contrib.auth.forms import AuthenticationForm
- register = template.Library()
- @register.inclusion_tag('login.html')
- def login_form():
- form = AuthenticationForm()
- return {'login_form': form}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement