Skip to main content

aa-student plugin app for Alliance Auth.

Project description

EVE Uni Student Plugin for Alliance Auth

This is a plugin app for Alliance Auth designed to assist with managing member student titles within EVE University.


Features

  • Automatically manages student titles based on configurable eligibility criteria.
  • Periodically cleans up old member entries using Celery.

Installation

  1. Add the app to your INSTALLED_APPS: Add the student app to the INSTALLED_APPS section in your settings.py file:

    INSTALLED_APPS += [
        'student',
    ]
    
  2. Apply migrations and collect static files: Run the following commands in your terminal:

    python manage.py migrate
    python manage.py collectstatic
    

Configuration

Student Eligibility Days

Set the number of days a member must wait before being eligible for the student title. Add the following to your settings.py:

STUDENTDAYS = 14

By default, this is set to 14 days.

Set the number of people visible in the student page. Add the following to your settings.py:

STUDENTLIMIT = 50

By default, this is set to 50 people.


Celery Integration

Schedule Automatic Cleanup

To enable periodic cleanup of ineligible members, add the following task to your Celery schedule in settings.py:

from celery.schedules import crontab

CELERYBEAT_SCHEDULE["delete_excluded_members"] = {
    "task": "student.tasks.delete_excluded_members",
    "schedule": crontab(minute=0, hour=0),  # Runs daily at midnight
}

Ensure your Celery worker and beat services are running.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aa_student-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aa_student-0.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file aa_student-0.1.0.tar.gz.

File metadata

  • Download URL: aa_student-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aa_student-0.1.0.tar.gz
Algorithm Hash digest
SHA256 34a22c3d3e246af258b889b4fca2e26b4651061ab0c232f39325b69446a444a0
MD5 e896e01634223837f2ae19293e0dc50a
BLAKE2b-256 318552907d9d9efcdeea16c7afbf49d7234fb50dccee9a951b0b14688351e721

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_student-0.1.0.tar.gz:

Publisher: python-publish.yml on EVE-University/aa-student

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aa_student-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aa_student-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aa_student-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8988b04998cc422458c1eff2c3ca4ae422f193a51346ddb1c0a2c49adc2ce59a
MD5 029fb13e8fb66546e369c52dd88a72b4
BLAKE2b-256 e4555ed8580321778ebed5ba9421ba8bca910daf23052a92614ca1fca94a56d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for aa_student-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on EVE-University/aa-student

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page