django-chelseru 1.0.4__tar.gz → 1.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {django_chelseru-1.0.4/django_chelseru.egg-info → django_chelseru-1.0.5}/PKG-INFO +1 -1
- {django_chelseru-1.0.4 → django_chelseru-1.0.5/django_chelseru.egg-info}/PKG-INFO +1 -1
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/django_chelseru.egg-info/SOURCES.txt +1 -0
- django_chelseru-1.0.5/drfchelseru/migrations/0011_alter_chatroom_user_1_alter_chatroom_user_2.py +26 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/models.py +2 -2
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/setup.py +1 -1
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/LICENSE +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/MANIFEST.in +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/README.md +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/README_PA.md +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/django_chelseru.egg-info/dependency_links.txt +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/django_chelseru.egg-info/requires.txt +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/django_chelseru.egg-info/top_level.txt +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/__init__.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/admin.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/apps.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/consumers.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/middlewares.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0001_initial.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0002_otpcode_session_user.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0003_rename_mobile_otpcode_mobile_number.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0004_rename_message_message_sms.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0005_rename_message_sms_messagesms_chatroom_messagechat.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0006_alter_chatroom_user_1_alter_chatroom_user_2_and_more.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0007_chatroom_pinned_for_chatroom_status_chatroom_users_and_more.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0008_alter_chatroompermissions_user.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0009_alter_chatroom_status.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0010_chatroom_banneds_chatroom_descriptions_chatroom_name_and_more.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/__init__.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/routing.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/serializers.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/services.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/settings.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/signals.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/tests.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/urls.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/validators.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/views.py +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/pyproject.toml +0 -0
- {django_chelseru-1.0.4 → django_chelseru-1.0.5}/setup.cfg +0 -0
|
@@ -34,4 +34,5 @@ drfchelseru/migrations/0007_chatroom_pinned_for_chatroom_status_chatroom_users_a
|
|
|
34
34
|
drfchelseru/migrations/0008_alter_chatroompermissions_user.py
|
|
35
35
|
drfchelseru/migrations/0009_alter_chatroom_status.py
|
|
36
36
|
drfchelseru/migrations/0010_chatroom_banneds_chatroom_descriptions_chatroom_name_and_more.py
|
|
37
|
+
drfchelseru/migrations/0011_alter_chatroom_user_1_alter_chatroom_user_2.py
|
|
37
38
|
drfchelseru/migrations/__init__.py
|
django_chelseru-1.0.5/drfchelseru/migrations/0011_alter_chatroom_user_1_alter_chatroom_user_2.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Generated by Django 5.1.6 on 2025-08-16 19:49
|
|
2
|
+
|
|
3
|
+
import django.db.models.deletion
|
|
4
|
+
from django.conf import settings
|
|
5
|
+
from django.db import migrations, models
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Migration(migrations.Migration):
|
|
9
|
+
|
|
10
|
+
dependencies = [
|
|
11
|
+
('drfchelseru', '0010_chatroom_banneds_chatroom_descriptions_chatroom_name_and_more'),
|
|
12
|
+
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
operations = [
|
|
16
|
+
migrations.AlterField(
|
|
17
|
+
model_name='chatroom',
|
|
18
|
+
name='user_1',
|
|
19
|
+
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user1_chats_drf_chelseru', to=settings.AUTH_USER_MODEL),
|
|
20
|
+
),
|
|
21
|
+
migrations.AlterField(
|
|
22
|
+
model_name='chatroom',
|
|
23
|
+
name='user_2',
|
|
24
|
+
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user2_chats_drf_chelseru', to=settings.AUTH_USER_MODEL),
|
|
25
|
+
),
|
|
26
|
+
]
|
|
@@ -137,8 +137,8 @@ class ChatRoom(models.Model):
|
|
|
137
137
|
(STATUS_HOLD, 'Hold')
|
|
138
138
|
]
|
|
139
139
|
|
|
140
|
-
user_1 = models.ForeignKey(UserGet, on_delete=models.CASCADE, related_name='user1_chats_drf_chelseru')
|
|
141
|
-
user_2 = models.ForeignKey(UserGet, on_delete=models.CASCADE, related_name='user2_chats_drf_chelseru')
|
|
140
|
+
user_1 = models.ForeignKey(UserGet, on_delete=models.CASCADE, related_name='user1_chats_drf_chelseru', blank=True, null=True)
|
|
141
|
+
user_2 = models.ForeignKey(UserGet, on_delete=models.CASCADE, related_name='user2_chats_drf_chelseru', blank=True, null=True)
|
|
142
142
|
|
|
143
143
|
users = models.ManyToManyField(UserGet, blank=True, related_name='users_drf_chelseru')
|
|
144
144
|
organization = models.ForeignKey(Organization, on_delete=models.DO_NOTHING, related_name='chatroom_drf_chelseru', blank=True, null=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_chelseru-1.0.4 → django_chelseru-1.0.5}/django_chelseru.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0002_otpcode_session_user.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_chelseru-1.0.4 → django_chelseru-1.0.5}/drfchelseru/migrations/0009_alter_chatroom_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|