new field added
This commit is contained in:
parent
17573e1a76
commit
97a6fee997
@ -30,6 +30,11 @@ class UserInfo(models.Model):
|
||||
code = models.IntegerField(null=True)
|
||||
verified = models.BooleanField(default=False)
|
||||
|
||||
@property
|
||||
def tasks_solved(self):
|
||||
fltr = Task.objects.filter(solution__result=CONSTS["ok_status"], solution__user=self.user).distinct()
|
||||
return len(fltr)
|
||||
|
||||
@property
|
||||
def has_favourite_language(self):
|
||||
return self.favourite_language_id is not None
|
||||
|
@ -1,7 +1,5 @@
|
||||
from typing import Optional
|
||||
|
||||
from django.utils import timezone
|
||||
|
||||
from Main.management.commands.bot import bot
|
||||
from Main.models import Chat, Message
|
||||
from Sprint.settings import CONSTS
|
||||
@ -25,7 +23,6 @@ class ChatView(BaseView):
|
||||
user=self.request.user,
|
||||
chat=self.entities.chat,
|
||||
text=self.request.POST["text"],
|
||||
time_sent=timezone.now(),
|
||||
)
|
||||
if (
|
||||
self.entities.chat.user.userinfo.activity_status != CONSTS["online_status"]
|
||||
|
11
demo.py
Normal file
11
demo.py
Normal file
@ -0,0 +1,11 @@
|
||||
from random import randrange
|
||||
'''
|
||||
x - y = 21
|
||||
x + 6 = (y + 6) * 5
|
||||
|
||||
x = 21 + y
|
||||
|
||||
27 + y = 5y + 30
|
||||
4y = -3
|
||||
y = -3/4
|
||||
'''
|
1
postgres/PG_VERSION
Normal file
1
postgres/PG_VERSION
Normal file
@ -0,0 +1 @@
|
||||
13
|
BIN
postgres/base/1/112
Normal file
BIN
postgres/base/1/112
Normal file
Binary file not shown.
BIN
postgres/base/1/113
Normal file
BIN
postgres/base/1/113
Normal file
Binary file not shown.
BIN
postgres/base/1/1247
Normal file
BIN
postgres/base/1/1247
Normal file
Binary file not shown.
BIN
postgres/base/1/1247_fsm
Normal file
BIN
postgres/base/1/1247_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/1247_vm
Normal file
BIN
postgres/base/1/1247_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/1249
Normal file
BIN
postgres/base/1/1249
Normal file
Binary file not shown.
BIN
postgres/base/1/1249_fsm
Normal file
BIN
postgres/base/1/1249_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/1249_vm
Normal file
BIN
postgres/base/1/1249_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/1255
Normal file
BIN
postgres/base/1/1255
Normal file
Binary file not shown.
BIN
postgres/base/1/1255_fsm
Normal file
BIN
postgres/base/1/1255_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/1255_vm
Normal file
BIN
postgres/base/1/1255_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/1259
Normal file
BIN
postgres/base/1/1259
Normal file
Binary file not shown.
BIN
postgres/base/1/1259_fsm
Normal file
BIN
postgres/base/1/1259_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/1259_vm
Normal file
BIN
postgres/base/1/1259_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/13245
Normal file
BIN
postgres/base/1/13245
Normal file
Binary file not shown.
BIN
postgres/base/1/13245_fsm
Normal file
BIN
postgres/base/1/13245_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/13245_vm
Normal file
BIN
postgres/base/1/13245_vm
Normal file
Binary file not shown.
0
postgres/base/1/13247
Normal file
0
postgres/base/1/13247
Normal file
BIN
postgres/base/1/13249
Normal file
BIN
postgres/base/1/13249
Normal file
Binary file not shown.
BIN
postgres/base/1/13250
Normal file
BIN
postgres/base/1/13250
Normal file
Binary file not shown.
BIN
postgres/base/1/13250_fsm
Normal file
BIN
postgres/base/1/13250_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/13250_vm
Normal file
BIN
postgres/base/1/13250_vm
Normal file
Binary file not shown.
0
postgres/base/1/13252
Normal file
0
postgres/base/1/13252
Normal file
BIN
postgres/base/1/13254
Normal file
BIN
postgres/base/1/13254
Normal file
Binary file not shown.
BIN
postgres/base/1/13255
Normal file
BIN
postgres/base/1/13255
Normal file
Binary file not shown.
BIN
postgres/base/1/13255_fsm
Normal file
BIN
postgres/base/1/13255_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/13255_vm
Normal file
BIN
postgres/base/1/13255_vm
Normal file
Binary file not shown.
0
postgres/base/1/13257
Normal file
0
postgres/base/1/13257
Normal file
BIN
postgres/base/1/13259
Normal file
BIN
postgres/base/1/13259
Normal file
Binary file not shown.
BIN
postgres/base/1/13260
Normal file
BIN
postgres/base/1/13260
Normal file
Binary file not shown.
BIN
postgres/base/1/13260_fsm
Normal file
BIN
postgres/base/1/13260_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/13260_vm
Normal file
BIN
postgres/base/1/13260_vm
Normal file
Binary file not shown.
0
postgres/base/1/13262
Normal file
0
postgres/base/1/13262
Normal file
BIN
postgres/base/1/13264
Normal file
BIN
postgres/base/1/13264
Normal file
Binary file not shown.
0
postgres/base/1/1417
Normal file
0
postgres/base/1/1417
Normal file
0
postgres/base/1/1418
Normal file
0
postgres/base/1/1418
Normal file
BIN
postgres/base/1/174
Normal file
BIN
postgres/base/1/174
Normal file
Binary file not shown.
BIN
postgres/base/1/175
Normal file
BIN
postgres/base/1/175
Normal file
Binary file not shown.
BIN
postgres/base/1/2187
Normal file
BIN
postgres/base/1/2187
Normal file
Binary file not shown.
0
postgres/base/1/2224
Normal file
0
postgres/base/1/2224
Normal file
0
postgres/base/1/2328
Normal file
0
postgres/base/1/2328
Normal file
0
postgres/base/1/2336
Normal file
0
postgres/base/1/2336
Normal file
BIN
postgres/base/1/2337
Normal file
BIN
postgres/base/1/2337
Normal file
Binary file not shown.
BIN
postgres/base/1/2579
Normal file
BIN
postgres/base/1/2579
Normal file
Binary file not shown.
BIN
postgres/base/1/2600
Normal file
BIN
postgres/base/1/2600
Normal file
Binary file not shown.
BIN
postgres/base/1/2600_fsm
Normal file
BIN
postgres/base/1/2600_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2600_vm
Normal file
BIN
postgres/base/1/2600_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2601
Normal file
BIN
postgres/base/1/2601
Normal file
Binary file not shown.
BIN
postgres/base/1/2601_fsm
Normal file
BIN
postgres/base/1/2601_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2601_vm
Normal file
BIN
postgres/base/1/2601_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2602
Normal file
BIN
postgres/base/1/2602
Normal file
Binary file not shown.
BIN
postgres/base/1/2602_fsm
Normal file
BIN
postgres/base/1/2602_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2602_vm
Normal file
BIN
postgres/base/1/2602_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2603
Normal file
BIN
postgres/base/1/2603
Normal file
Binary file not shown.
BIN
postgres/base/1/2603_fsm
Normal file
BIN
postgres/base/1/2603_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2603_vm
Normal file
BIN
postgres/base/1/2603_vm
Normal file
Binary file not shown.
0
postgres/base/1/2604
Normal file
0
postgres/base/1/2604
Normal file
BIN
postgres/base/1/2605
Normal file
BIN
postgres/base/1/2605
Normal file
Binary file not shown.
BIN
postgres/base/1/2605_fsm
Normal file
BIN
postgres/base/1/2605_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2605_vm
Normal file
BIN
postgres/base/1/2605_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2606
Normal file
BIN
postgres/base/1/2606
Normal file
Binary file not shown.
BIN
postgres/base/1/2606_fsm
Normal file
BIN
postgres/base/1/2606_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2606_vm
Normal file
BIN
postgres/base/1/2606_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2607
Normal file
BIN
postgres/base/1/2607
Normal file
Binary file not shown.
BIN
postgres/base/1/2607_fsm
Normal file
BIN
postgres/base/1/2607_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2607_vm
Normal file
BIN
postgres/base/1/2607_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2608
Normal file
BIN
postgres/base/1/2608
Normal file
Binary file not shown.
BIN
postgres/base/1/2608_fsm
Normal file
BIN
postgres/base/1/2608_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2608_vm
Normal file
BIN
postgres/base/1/2608_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2609
Normal file
BIN
postgres/base/1/2609
Normal file
Binary file not shown.
BIN
postgres/base/1/2609_fsm
Normal file
BIN
postgres/base/1/2609_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2609_vm
Normal file
BIN
postgres/base/1/2609_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2610
Normal file
BIN
postgres/base/1/2610
Normal file
Binary file not shown.
BIN
postgres/base/1/2610_fsm
Normal file
BIN
postgres/base/1/2610_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2610_vm
Normal file
BIN
postgres/base/1/2610_vm
Normal file
Binary file not shown.
0
postgres/base/1/2611
Normal file
0
postgres/base/1/2611
Normal file
BIN
postgres/base/1/2612
Normal file
BIN
postgres/base/1/2612
Normal file
Binary file not shown.
BIN
postgres/base/1/2612_fsm
Normal file
BIN
postgres/base/1/2612_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2612_vm
Normal file
BIN
postgres/base/1/2612_vm
Normal file
Binary file not shown.
0
postgres/base/1/2613
Normal file
0
postgres/base/1/2613
Normal file
BIN
postgres/base/1/2615
Normal file
BIN
postgres/base/1/2615
Normal file
Binary file not shown.
BIN
postgres/base/1/2615_fsm
Normal file
BIN
postgres/base/1/2615_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2615_vm
Normal file
BIN
postgres/base/1/2615_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2616
Normal file
BIN
postgres/base/1/2616
Normal file
Binary file not shown.
BIN
postgres/base/1/2616_fsm
Normal file
BIN
postgres/base/1/2616_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2616_vm
Normal file
BIN
postgres/base/1/2616_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2617
Normal file
BIN
postgres/base/1/2617
Normal file
Binary file not shown.
BIN
postgres/base/1/2617_fsm
Normal file
BIN
postgres/base/1/2617_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2617_vm
Normal file
BIN
postgres/base/1/2617_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2618
Normal file
BIN
postgres/base/1/2618
Normal file
Binary file not shown.
BIN
postgres/base/1/2618_fsm
Normal file
BIN
postgres/base/1/2618_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2618_vm
Normal file
BIN
postgres/base/1/2618_vm
Normal file
Binary file not shown.
BIN
postgres/base/1/2619
Normal file
BIN
postgres/base/1/2619
Normal file
Binary file not shown.
BIN
postgres/base/1/2619_fsm
Normal file
BIN
postgres/base/1/2619_fsm
Normal file
Binary file not shown.
BIN
postgres/base/1/2619_vm
Normal file
BIN
postgres/base/1/2619_vm
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user