Question
- Why does Django automatically load the
initial_data.json
fixture when it's located inside the project directory but not located in one of the three specified locations that Django searches for fixtures?
Configuration Information
- I have not set the
FIXTURE_DIRS
setting in settings.py - Django 1.2.1
Django's Documentation Regarding Fixture Locations
The What's a "Fixture" section of Django's django-admin.py and manage.py documentation states:
Django will search in three locations for fixtures:
- In the fixtures directory of every installed application
- In any directory named in the FIXTURE_DIRS setting
- In the literal path named by the fixture
Django will load any and all fixtures it finds in these locations that match the provided fixture names.