def get_login_url(self):
login_url = getattr(settings, '<STR_LIT>')<EOL>if login_url is None:<EOL><INDENT>return reverse('<STR_LIT>')<EOL><DEDENT>return login_url<EOL>
Returns the URL when testing the redirect for anonymous users to the
login page.
Can be overwritten if you do not use the auth_login as default or
configure your urls.py file in a specific way.