From 85d7112bbfe524a51bd2b7a1d0a8ae6bcd988ada Mon Sep 17 00:00:00 2001
From: Mahdi Ghasemi <106802820+ProdByGodfather@users.noreply.github.com>
Date: Sat, 6 Jan 2024 08:45:13 +0330
Subject: [PATCH] `v2.2.0` - Make profile form for update user data
---
.idea/workspace.xml | 26 ++++++++++---
chat/migrations/0004_alter_message_image.py | 18 +++++++++
db.sqlite3 | Bin 184320 -> 204800 bytes
templates/panel/base.html | 8 ++--
templates/panel/profile.html | 25 +++++++++++++
users/forms.py | 39 +++++++++++++++++++-
users/migrations/0004_user_bio.py | 18 +++++++++
users/models.py | 1 +
users/urls.py | 3 +-
users/views.py | 16 +++++++-
10 files changed, 141 insertions(+), 13 deletions(-)
create mode 100644 chat/migrations/0004_alter_message_image.py
create mode 100644 templates/panel/profile.html
create mode 100644 users/migrations/0004_user_bio.py
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 4f215f8..fa64e20 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,9 +4,15 @@
-
+
+
+
-
+
+
+
+
+
@@ -111,7 +117,8 @@
-
+
+
@@ -161,7 +168,15 @@
1704404638083
-
+
+
+ 1704480250935
+
+
+
+ 1704480250935
+
+
@@ -174,6 +189,7 @@
-
+
+
\ No newline at end of file
diff --git a/chat/migrations/0004_alter_message_image.py b/chat/migrations/0004_alter_message_image.py
new file mode 100644
index 0000000..eba3ecf
--- /dev/null
+++ b/chat/migrations/0004_alter_message_image.py
@@ -0,0 +1,18 @@
+# Generated by Django 5.0 on 2024-01-05 21:33
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('chat', '0003_message_image'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='message',
+ name='image',
+ field=models.CharField(blank=True, max_length=500, null=True),
+ ),
+ ]
diff --git a/db.sqlite3 b/db.sqlite3
index 78733807d18227cfa39a84cdf794aea6ac2d8fb3..f310c9df64e855dc577db5e55788ca1a2898349e 100644
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