From 13ef139b66f52d0fdfb791e6de5e20b907fc51d5 Mon Sep 17 00:00:00 2001 From: VladislavOstapov Date: Wed, 3 Jan 2024 12:41:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BA=D0=BE=D1=81=D0=BC=D0=B5=D1=82=D0=B8?= =?UTF-8?q?=D1=87=D0=B5=D1=81=D0=BA=D0=B8=D0=B5=20=D0=B8=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index/views.py | 2 +- static/css/style.css | 1 + users/models.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index/views.py b/index/views.py index 9e6c730..65447a6 100644 --- a/index/views.py +++ b/index/views.py @@ -2,7 +2,7 @@ import os from django.http import HttpResponse from django.shortcuts import render -from django.db.models import Manager +# from django.db.models import Manager # только для тестирования! import requests diff --git a/static/css/style.css b/static/css/style.css index 882d13f..0a26b61 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -48,6 +48,7 @@ header > h1 { text-align: center; background-color: var(--brand-bg); padding: 0.5em; + margin: 0; } header * { diff --git a/users/models.py b/users/models.py index d54396f..0a690a6 100644 --- a/users/models.py +++ b/users/models.py @@ -1,4 +1,4 @@ -from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin +from django.contrib.auth.models import AbstractBaseUser from django.db import models from django.utils import timezone from django.core.validators import MinLengthValidator