РК
Size: a a a
РК
РК
MV
F
F
МП
class Place(models.Model):
….
class Floor(models.Model):
executor = models.ForeignKey(
'auth.User'
)
place = models.ForeignKey(
'Place',
oor[]
st(Fl
oor.object.values('executor__id', 'place__id').filter(
executor=user).annotate(Count('id')).values_list('place__id', flat=True))
NO
NO
W
EB
EB
ST
W
G
V
-app
- - tests
- - - v1
- - - - test.py
- - - v2
- - - - test.py
./manage.py test
они запустятся?NO
-app
- - tests
- - - v1
- - - - test.py
- - - v2
- - - - test.py
./manage.py test
они запустятся?G
YP
-app
- - tests
- - - v1
- - - - test.py
- - - v2
- - - - test.py
./manage.py test
они запустятся?YP
from v1.tests import *