Unapplied migrations on clean clone
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 64/100
調査の方向性
まず、requirements.txt と manage.py runserver を使ってクリーンなクローンのセットアップを再現し、次にこの起動パスが Django のマイグレーションをどのように処理するかを確認します。関連する起動変更後に期待される動作を確認するため、記載された手順を繰り返し、未適用のマイグレーションに関する警告が引き続き表示されるかを確認します。
索引モデルが issue の本文から書いたものです。
説明
Right after cloning this repo and running it, I get a warning in red text that reads:
You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
Steps to reproduce:
- Use any reasonable Linux machine (in my case, an up-to-date CachyOS install)
git clone [email protected]:Azure-Samples/msdocs-python-django-webapp-quickstart.gitcd msdocs-python-django-webapp-quickstart/python -m venv .venvsource .venv/bin/activate.fish(I use the Fish shell, but should make no difference)pip install -r requirements.txtpython manage.py runserver- Observe
Entire output:
~/(...)/msdocs-python-django-webapp-quickstart main
.venv ❯ python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
June 12, 2026 - 14:02:50
Django version 6.0.6, using settings 'quickstartproject.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
WARNING: This is a development server. Do not use it in a production setting. Use a production WSGI or ASGI server instead.
For more information on production servers see: https://docs.djangoproject.com/en/6.0/howto/deployment/
The server runs fine.
- 主要言語
- Bicep
- スター
- 42
- フォーク
- 293
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
decentralized-identity/didwebvh-ts#203 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
area/map-site bug layer/core size/S
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
marola-dev/marola-app#60 ·
メンテナーはふだん 1 日以内に返信
-
Telegram webhook: line breaks lost since switch to rich messages対応中かも @Kshot3000 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
get_seat_availability: 'GNWL/AVAILABLE'-style statuses are reported as available with no seat countオープンbug good first issue tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100