Django customizes management pages based on APScheduler
Project description
===== AutoJob
AutoJob is a simple Django app to conduct Web-based autojob. For each question, visitors can choose between a fixed number of answers.
Detailed documentation is in the "docs" directory.
Quick start
1. Add "autojob" to your INSTALLED_APPS setting like this
INSTALLED_APPS = [
...
'autojob.apps.AutoJob',
]
2. Run python manage.py migrate to create the autojob models
3. Add a reference to wsgi.py::
from autojob import job_tool
job_tool.job_control()
4. Add cache config to settings.py
CACHES = {
"default": {
"BACKEND": "django_redis.cache.RedisCache",
"LOCATION": "redis://127.0.0.1:6379/0",
"OPTIONS": {
"PICK_VERSION": -1,
"COMPRESSOR": "django_redis.compressors.zlib.ZlibCompressor",
"CLIENT_CLASS": "django_redis.client.DefaultClient",
"PASSWORD": ""
}
}
}
5. Start the development server and visit http://127.0.0.1:8000/admin/
to create a poll (you'll need the Admin app enabled).
6. Visit http://127.0.0.1:8000/admin/autojob/ to participate in the poll.
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
autojob-0.5.5.tar.gz
(7.6 kB
view details)
File details
Details for the file autojob-0.5.5.tar.gz.
File metadata
- Download URL: autojob-0.5.5.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.19 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da8c0dc2e8b8d90d90a1473df16eb14fc71e19ca69b5b34ab535ecea0de2603e
|
|
| MD5 |
ab7cdcd4844b2ac73051b23d87d9cd17
|
|
| BLAKE2b-256 |
18f95c6056342f976f7fbced77e200d771931ec329a814cbf21a48d7113941aa
|