Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django loginview

class Login(LoginView):
    template_name = "registration/login.html"
    def get_context_data(self, **kwargs):
        context = super(Login,self).get_context_data(**kwargs)
        page_title = 'Login'
        context.update({
            "page_title":page_title
         })
        return context
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #loginview
ADD COMMENT
Topic
Name
3+5 =