/usr/lib/python3/dist-packages/django_testproject/templates/registration/login.html is in python3-django-testproject 0.1.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | {% extends "registration/base.html" %}
{% block title %}{{block.super }} | Sign in {% endblock %}
{% block header %}
{% if next %}
<h1>You need to sign-in to access that page</h1>
{% else %}
<h1>Sign in</h1>
{% endif %}
{% endblock %}
{% block content %}
<form method="post" action="{% url django.contrib.auth.views.login %}">
{% csrf_token %}
<p>{{ form.username }}</p>
<p>{{ form.password }}</p>
{{ form.errors }}
<input id="id_submit" type="submit" value="Sign in with username and password" />
<input type="hidden" name="next" value="{{ next }}" />
</form>
{% endblock %}
|