Н
Size: a a a
Н
tn
tn
IB
from back.models import *
К
from back.models import *
I
tn
I
AG
AG
UniqueConstraint(fields=['user'], condition=Q(<fk_field>__status=True), name='unique_draft_user')
IB
red = redis.Redis(host='redis', port=6379)
print(red.get("bitmap"))
I
UniqueConstraint(fields=['user'], condition=Q(<fk_field>__status=True), name='unique_draft_user')
К
AG
IB
I
К
IB
IB
red = redis.Redis(host='localhost', port=6379)И Redis заработал, но:
point = Points.objects.get(x=0, y=0).latestdjango.db.utils.OperationalError: could not translate host name "web_db" to address: Name or service not know
print(point.color)
К
shpplace_web_1
?