Unapplied migrations on clean clone
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Start by reproducing the clean-clone setup with requirements.txt and manage.py runserver, then inspect how this startup path handles Django migrations. Confirm the expected behavior after the relevant startup change by repeating the listed steps and checking whether the unapplied-migrations warning still appears.
Written by the indexing model from the issue text.
Description
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 git@github.com: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.
- Dominant language
- Bicep
- Stars
- 42
- Forks
- 296
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100