A simple django application provide simple redis cache data manager functional.
Project description
django-redis-data-manager
A simple django application provide simple redis cache data manager functional.
Install
pip install django-redis-data-manager
- If you want to use guniocrn web server, install
gunicorn
it by yourself. - If you want to use mysql database, install
mysqlclient
by yourself.
Install Server Command
- manage-django-redis-data-manager
Command Help
C:\Workspace\redis-dataman>manage-django-redis-data-manager
Type 'manage-django-redis-data-manager help <subcommand>' for help on a specific subcommand.
Available subcommands:
[auth]
changepassword
createsuperuser
[contenttypes]
remove_stale_contenttypes
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver
[django_server_controller]
wsgi-server
[sessions]
clearsessions
[staticfiles]
collectstatic
findstatic
runserver
Usage
- We will try to load your private settings from
django_redis_data_manager_project_local_settings.py
module. - By default the admin site registered under path:
/admin/
. You can change it by setADMIN_SITE_URL=<your site path>
indjango_redis_data_manager_project_local_settings.py
. - By default we try to use sqlite3 database. You can change it by set new
DATABASES
indjango_redis_data_manager_project_local_settings.py
.
Releases
v0.1.2 2020/09/29
- Add
ADMIN_SITE_URL
to custom admin site register url. - Add default WSGI_SERVER_ENGINE to
gunicorn
, and add the defaultuwsg.conf.py
which will let the server listen on16379
port to do service.
v0.1.1 2020/09/25
- Add depends package in requirements.txt.
v0.1.0 2020/09/23
- First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-redis-data-manager-0.1.2.tar.gz
.
File metadata
- Download URL: django-redis-data-manager-0.1.2.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93e407aebb0d52490c74f488e43fa45f4e43b315b6f3bbfcd3976432090f5b1b |
|
MD5 | 22c56b678308acf47359a4a062507096 |
|
BLAKE2b-256 | 2c34e01c6664d1364706d2bc3bd9386fc601409ceeeebe772a5ce67b26642402 |