{"id":9431,"library":"aa-srp","title":"Alliance Auth SRP Module","description":"aa-srp (Alliance Auth SRP Module) is a Django application designed for Alliance Auth, providing tools for managing Ship Replacement Program (SRP) requests within EVE Online communities. It allows members to submit SRP claims, which can then be reviewed and approved by management. The current version is 4.2.3, and it maintains an active release cadence with regular updates and improvements.","status":"active","version":"4.2.3","language":"en","source_language":"en","source_url":"https://github.com/ppfeufer/aa-srp","tags":["django","alliance-auth","srp","eve-online","web-application"],"install":[{"cmd":"pip install aa-srp","lang":"bash","label":"Install the package"},{"cmd":"# Add 'srp' to your INSTALLED_APPS in settings.py\nINSTALLED_APPS = [\n    # ... other apps ...\n    'srp',\n    # ...\n]\n\n# Run migrations from your Alliance Auth project root\npython manage.py migrate srp\n\n# Then, restart your Gunicorn/web server process.","lang":"python","label":"Integrate with Alliance Auth"}],"dependencies":[{"reason":"aa-srp is an app for Alliance Auth and requires version 4.12.0 or higher since aa-srp v3.3.0.","package":"allianceauth","optional":false},{"reason":"Requires Python versions between 3.10 and 3.14 (exclusive of 3.14).","package":"Python","optional":false}],"imports":[{"note":"Commonly imported models for programmatic access or custom integrations.","symbol":"SrpLink, SrpRequest","correct":"from srp.models import SrpLink, SrpRequest"}],"quickstart":{"code":"# In your Alliance Auth project's settings.py\n# Add 'srp' to your INSTALLED_APPS list\nINSTALLED_APPS = [\n    # ... other apps ...\n    'srp',\n    # ...\n]\n\n# After adding to INSTALLED_APPS, run migrations from your Auth root:\n# python manage.py migrate srp\n# Then restart your Gunicorn/web server process to apply changes.","lang":"python","description":"To quickly integrate aa-srp into your Alliance Auth instance, add 'srp' to your INSTALLED_APPS, run migrations, and restart your web server."},"warnings":[{"fix":"Upgrade to `aa-srp==3.0.0`, run `python manage.py migrate`, then upgrade to `aa-srp==4.0.0` (or latest) and run migrations again.","message":"Upgrading to v4.0.0+ requires prior upgrade to v3.0.0 and running migrations. Direct upgrade from versions older than v3.0.0 to v4.0.0+ will cause migration issues due to the removal of `django-eveuniverse` dependency and squashed migrations.","severity":"breaking","affected_versions":"<3.0.0 to 4.0.0+"},{"fix":"Ensure your Alliance Auth installation is at least `4.12.0` before upgrading or installing `aa-srp>=3.3.0`. Update Alliance Auth first: `pip install -U allianceauth`.","message":"Version 3.3.0 and later require Alliance Auth version 4.12.0 or newer. Installing `aa-srp>=3.3.0` on an older Alliance Auth instance may pull in an unsupervised Auth update or lead to compatibility errors.","severity":"breaking","affected_versions":"3.3.0+"},{"fix":"After upgrading to `aa-srp>=4.1.0`, always run `pip install --upgrade aa-srp` to ensure all new dependencies are satisfied, then `python manage.py migrate` and restart Gunicorn.","message":"Version 4.1.0 introduced new dependencies. While `pip install aa-srp` should handle these, ensure your environment allows new packages to be installed correctly during an upgrade to prevent broken functionality.","severity":"gotcha","affected_versions":"4.1.0+"},{"fix":"Review custom templates for `aa-srp` and update any deprecated templatetags according to Django's current best practices or by consulting the `aa-srp` source for the updated tags.","message":"As of version 4.2.3, a deprecated Django templatetag was replaced internally. If you have custom templates that override `aa-srp` templates, they may need to be updated if they relied on the old templatetag.","severity":"deprecated","affected_versions":"4.2.3+"}],"env_vars":null,"last_verified":"2026-04-17T00:00:00.000Z","next_check":"2026-07-16T00:00:00.000Z","problems":[{"fix":"Downgrade to `aa-srp==3.0.0`, run `python manage.py migrate`, then upgrade to `aa-srp==4.0.0` (or latest) and run migrations again.","cause":"Attempted to upgrade directly to `aa-srp` v4.0.0+ from a version older than v3.0.0 without intermediate migrations. The `eveuniverse` dependency was removed in v4.0.0, but older migrations might still reference it.","error":"ModuleNotFoundError: No module named 'eveuniverse'"},{"fix":"Ensure `srp` is in `INSTALLED_APPS` in `settings.py`, then run `python manage.py migrate srp` from your Alliance Auth project root. If this is an upgrade, ensure previous version-specific upgrade instructions (like v4.0.0's requirement to upgrade to v3.0.0 first) were followed.","cause":"Database migrations for `aa-srp` were not applied or not applied in the correct order after an update.","error":"django.db.utils.OperationalError: no such column: srp_srprequest.xyz_field"},{"fix":"Add `'srp'` to the `INSTALLED_APPS` list in your Alliance Auth `settings.py` file, then run `python manage.py migrate srp` and restart your Gunicorn/web server.","cause":"The `srp` app has not been added to the `INSTALLED_APPS` list in the Alliance Auth `settings.py`.","error":"RuntimeError: 'srp' is not in INSTALLED_APPS"},{"fix":"Upgrade your Alliance Auth installation to at least version 4.12.0 before installing `aa-srp>=3.3.0`. Run `pip install -U allianceauth` within your Alliance Auth virtual environment, then restart services.","cause":"Attempted to install `aa-srp` v3.3.0+ on an Alliance Auth instance older than 4.12.0.","error":"ImproperlyConfigured: Alliance Auth version 4.12.0 or higher is required to run this app."}]}