Django filter count()
2021. 4. 4. 16:05ㆍ파이썬/Django
data = Trained_Image.objects.filter(file__iregex=r'kor2.*exp0.tif').count()
결과는 그냥 숫자로 나옴
'파이썬 > Django' 카테고리의 다른 글
Django urls.py 셋팅 (0) | 2021.04.06 |
---|---|
Django project 생성 (0) | 2021.04.06 |
django.db.utils.OperationalError: user-defined function raised exception (0) | 2021.04.04 |
Django group by Count함수, order by(정렬) (0) | 2021.04.03 |
Django context must be a dict rather than QuerySet. (0) | 2021.04.03 |