This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

18 lines
410 B
HTML
Raw Normal View History

2021-02-09 17:41:06 +02:00
{% extends 'base.html' %}
{% block title %} Home {% endblock %}
{% block content %}
{% if user.is_authenticated %}
Hi {{ user.username }}!<br>
<form action="" method="POST">{% csrf_token %}
<input type="file" name="image" id="image">
<button type="submit"> Submit </button>
{% else %}
<p>You are not logged in</p>
<a href="{% url 'login' %}">Log In</a>
{% endif %}
{% endblock %}