LoginSignup
1

More than 1 year has passed since last update.

Djangoコマンド集

Posted at

Djangoバージョン確認

python -m django --version

Djangoのプロジェクト作成

django-admin startproject [プロジェクト名]

マイグレーションファイルを作成

py manage.py makemigrations [アプリ名]

マイグレート

py manage.py migrate

管理ユーザーの作成

py manage.py createsuperuser

テストデータのロード

py manage.py loaddata [jsonファイル]

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1