Django is unable to look for fixtures in zipped egg files.
|Reported by:||rfkrocktk@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I had an interesting thing happen recently when deploying my project (http://github.com/rfkrocktk/django-locality) to PyPI. When I installed it using setuptools, Django couldn't see any of the initial data fixtures I provide in my project. After scratching my head about it for a while and trying to debug it, I found that Django wasn't able to find it because it was in a zipped egg file. I was able to work around this by setting 'zip_safe' equal to 'False' on my module, but it's still kind of confusing and can be frustrating to work with. Would it be possible to patch Django to allow it to search for fixtures inside of zipped egg files?