Django Eve Universe provides a complete set of Eve Universe models, allowing easy access to EVE Online universe data fetched on-demand from ESI. It enables storing, caching, and updating critical EVE Online static data within a Django project. The current version is 1.6.1, and it maintains an active release cadence with regular updates and bug fixes.
pip install django-eveuniverseVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates basic retrieval of Eve Universe models like `EveType`. After installing `django-eveuniverse` and adding 'eveuniverse' to `INSTALLED_APPS`, you must run `python manage.py migrate` and then `python manage.py eveuniverse_load_data` to populate your database with universe entities. The `EVEUNIVERSE_DATA_SOURCES` setting in your Django `settings.py` determines which entities are loaded.
Update all references to `EveEntity` to `EveUniverseEntity` and `EveUniverseEntity` (mixin) to `EveUniverseEntityModel` in your code. Review the v1.0 migration guide for full details.
Add `EVEUNIVERSE_DATA_SOURCES` to your `settings.py` with the entities you need (e.g., `{'eveuniverse.EveType': {'priority': 100, 'enabled': True}}`), then execute `python manage.py eveuniverse_load_data` to populate the database. Consider setting this up as a recurring task if data needs to be kept fresh.Check `setup.py` or PyPI for the exact Django version requirements for the `django-eveuniverse` version you are using. Upgrade Django if necessary, or install an older compatible version of `django-eveuniverse`.