2019-08-09から1日間の記事一覧
models.py manage.py shell 参考 (Python3.6.1, Django==1.11.20, PyMySQL==0.9.3) models.py class HogeFile(models.Model): binary_file = models.BinaryField() manage.py shell $ python manage.py shell_plus >>> from pathlib import Path >>> file = …