This is a plugin app for Alliance Auth designed to assist with member orientation and onboarding within EVE University.
-
Add the app to your
INSTALLED_APPS
insettings.py
:INSTALLED_APPS += [ 'orientation', ]
-
Run the following commands to apply migrations and collect static files:
python manage.py migrate python manage.py collectstatic
You can set the number of days before old NewMembers
entries are deleted by adding the following to your settings.py
:
ORIENTATIONDAYS = getattr(settings, "ORIENTATIONDAYS", 31)
By default, this is set to 31 days.
To enable automatic cleanup of old member entries, add the following task to your Celery schedule:
CELERYBEAT_SCHEDULE["delete_old_members_daily"] = {
"task": "orientation.tasks.delete_old_members",
"schedule": crontab(minute=0, hour=0), # Runs daily at midnight
}
This task will remove NewMembers
entries older than 31 days.