You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to load a fixture from the local path,. The corresponding "media" folder is in the same directory. Yet this here seems to just pick one of the apps that has a fixture folder and expects the media folder to be in there.
Ah, yeah, I didn't plan for specifying fixtures by path, only discovering them in the fixture paths.
Looks like we could wrap loaddata.load_label() to set per-label (path or fixture name) fixture_media_paths to fix this. That would still confuse some media paths (when the same label refers to different fixtures in different fixture paths that use the same media filepaths), but those files will clash in the project's live MEDIA_PATH anyway.
I try to load a fixture from the local path,. The corresponding "media" folder is in the same directory. Yet this here seems to just pick one of the apps that has a fixture folder and expects the media folder to be in there.
https://github.com/duncaningram/django-fixture-media/blob/master/fixturemedia/management/commands/loaddata.py#L30-L37
The text was updated successfully, but these errors were encountered: