Ratting Tax for Alliance Auth (GitHub Version)
Project description
Ratting Tax App for Alliance Auth (GitHub Version)
This is an rattingtax plugin app for Alliance Auth (AA)
Features
- Plugin calculates ratting tax for all corporations in the alliance
How to Use It
Set basic permissions for corp ceos and for alliance leadership view_all permission so they can see all the corps
Installing Into Your Website
Make sure you're in your venv. Then install it with pip:
pip install aa-rattingtax
First add your app to the Django project by adding rattingtax to
INSTALLED_APPS in settings/local.py.
Next, run migrations:.
python manage.py migrate
Add celery schedule at the bottom of your local.py setting file
CELERYBEAT_SCHEDULE["rattingtax_pull_current"] = {
"task": "rattingtax.tasks.pull_current_month_all",
"schedule": crontab(minute=15, hour="2"),
}
CELERYBEAT_SCHEDULE["rattingtax_close_month"] = {
"task": "rattingtax.tasks.close_previous_months",
"schedule": crontab(minute=5, hour=1, day_of_month="1"),
}
Finally, restart your AA server and that's it.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aa_rattingtax-1.0.2.tar.gz.
File metadata
- Download URL: aa_rattingtax-1.0.2.tar.gz
- Upload date:
- Size: 37.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94a248af51556a372ab0a7a3b9e760d09c269ad72b202e7b5ec8b949175b48d1
|
|
| MD5 |
8ac58ec4c6f175d4db76de53cbab87c2
|
|
| BLAKE2b-256 |
a67ffc153e8601f36fc5921bf313a994916869fd39e2af0dab6cbd9621ffe568
|
File details
Details for the file aa_rattingtax-1.0.2-py3-none-any.whl.
File metadata
- Download URL: aa_rattingtax-1.0.2-py3-none-any.whl
- Upload date:
- Size: 44.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44c539dc8b33a41320c7912e4718fa3c86ea1af12d70d21e3dc47ede3ecf7310
|
|
| MD5 |
bb62d4f5992ce424598545e42fce5b8a
|
|
| BLAKE2b-256 |
5e316d5f27588f33475439ee12d17b16daf8ee47f98448a26846428ed0ffcbfe
|