# django.db.migrations.exceptions.NoChanges: No changes detected

- **ID:** `python/django-migration-no-changes-detected`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Django cannot detect any model changes to generate migrations, often due to incorrect app configuration or model definition issues.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **Check app registration and model definition** (80% success)
   ```
   Ensure the app is in INSTALLED_APPS and models are correctly defined. Run: python manage.py makemigrations your_app_name
   ```
2. **Manually create initial migration** (70% success)
   ```
   python manage.py makemigrations your_app_name --empty then edit the empty migration file.
   ```

## Dead Ends

- **Running makemigrations again without changes** — If models are unchanged, repeated makemigrations will yield the same result. (90% fail)
- **Deleting migration files** — Deleting existing migrations may cause inconsistencies; the underlying issue remains. (70% fail)
