diff --git a/backend/project/notifications/migrations/0001_initial.py b/backend/project/notifications/migrations/0001_initial.py index 1500e10..3ee763c 100644 --- a/backend/project/notifications/migrations/0001_initial.py +++ b/backend/project/notifications/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.11 on 2024-03-31 15:06 +# Generated by Django 4.2.11 on 2024-03-31 19:42 from django.conf import settings from django.db import migrations, models @@ -27,7 +27,7 @@ class Migration(migrations.Migration): ), ), ("title", models.CharField(max_length=150, verbose_name="заголовок")), - ("content", models.TextField(null=True, verbose_name="содержание")), + ("content", models.TextField(verbose_name="содержание")), ( "read", models.BooleanField(default=False, verbose_name="дата создания"), diff --git a/backend/requirements/dev.txt b/backend/requirements/dev.txt index 626fcba..be9ff5d 100644 --- a/backend/requirements/dev.txt +++ b/backend/requirements/dev.txt @@ -1,6 +1,6 @@ black sort-requirements ruff==0.3.4 +django-debug-toolbar==4.3.0 --r prod.txt -r test.txt diff --git a/backend/requirements/test.txt b/backend/requirements/test.txt index 2e685ea..ca0c6f8 100644 --- a/backend/requirements/test.txt +++ b/backend/requirements/test.txt @@ -1 +1 @@ -django-debug-toolbar==4.3.0 +-r prod.txt