Django,python

Thumbnail of post image 140
def import_csv(request): if request.method == 'POST' and request.FILES: myfile = request.FILES # Read csv file I ...

Django,python

Thumbnail of post image 058

1時間に1回、データを取得しデータベースに保存したり、毎朝4時にデータベースの重複チェックを行いデータの整理をするなど、自動実行する方法です。

APSchedulerをインストール

APSchedulerをインストールします ...

Django,python,未分類

Thumbnail of post image 103

Linuxbrewを使ってデプロイを試みたが、途中でエラーでどうにもならなくなり、Minicondaを使用する方法に変更した。本当にメモです。

# 発生したエラーPermissionError: 許可がありません: ' ...

Django,python

Thumbnail of post image 093

ローカル環境ではうまく動いていたのに、サーバーに上げた途端に認証されなくなってしまった。

仕様

・python 3.9.9
・django 3.2.11
・django-rest-framework 3.13 ...

Django,python

Thumbnail of post image 049

djangoでAPIを作ったときのメモです

仕様django 3.2.11
django-rest-framework 3.13.1
django-rest-framework-jwt 1.11.0
mysql ...