Add order app, update base template, add user-agreement page and create orders list page

This commit is contained in:
2022-09-24 00:15:11 +03:00
parent 0a15637d35
commit b8cc005afe
15 changed files with 143 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
{% extends 'base.html' %}
{% block title %} Аккаунт | вход {% endblock %}
{% block content %}
<h1> Ваш аккаунт </h1>
{% if user.is_authenticated %}
тут должен быть список заказов...
{% else %}
<h3>Вы не можете просматривать заказы не войдя в аккаунт</h3>
Используйте меню аккаунта для регистрации или входа
{% endif %}
{% endblock %}