AA Freight
raw JSON → 2.0.0 verified Mon Apr 27 auth: no python
AA Freight is a Django app for Alliance Auth that enables running a freight service within EVE Online. Current version 2.0.0 targets Django 3.2/4.0+ and Python >=3.8.
pip install aa-freight Common errors
error ModuleNotFoundError: No module named 'freight' ↓
cause The package is not installed or not added to INSTALLED_APPS correctly.
fix
Run 'pip install aa-freight' and add 'freight' to INSTALLED_APPS.
error ImportError: cannot import name 'admin' from 'freight' ↓
cause Old import path from earlier versions.
fix
Use 'from freight import admin' instead of 'from freight.admin import ...'.
error django.db.utils.OperationalError: no such table: freight_contract ↓
cause Database migrations not applied.
fix
Run 'python manage.py migrate'.
Warnings
breaking Version 2.0.0 introduced breaking changes in model structure. Existing freight contracts may need migration. ↓
fix Follow the upgrade guide in the repository's CHANGELOG.
deprecated Support for Python 3.8 is deprecated and will be removed in a future release. ↓
fix Upgrade to Python 3.10+.
gotcha The app requires a properly configured Alliance Auth instance with ESI scopes. Ensure your EVE SSO client has the required scopes. ↓
fix Double-check scopes in your Alliance Auth settings.
Imports
- admin
from freight import admin - app_settings
from freight import app_settings
Quickstart
pip install aa-freight
# Add 'freight' to INSTALLED_APPS in your Alliance Auth settings
# Run migrations:
# python manage.py migrate
# Then configure in admin panel.