【文件属性】:
文件名称:django-redis:一个与Redis实例接口的简单Django API
文件大小:14KB
文件格式:ZIP
更新时间:2021-03-31 23:36:30
Python
Django_Redis
该存储库包含此的代码。
入门
先决条件
请确保您在计算机上安装了以下软件:
您选择的IDE或编辑器
运行应用程序
克隆存储库
$ git clone https://github.com/ro6ley/django-redis.git
检入克隆的存储库
$ cd django-redis
如果您使用的是Pipenv,请按照以下步骤设置虚拟环境并启动它:
$ pipenv install && pipenv shell
安装要求
$ pip install -r requirements.txt
在django_redis_demo/settings.py配置Redis配置
启动Django API
$ python manage.py runserver
发送请求到http://localhost:8000/api/items
贡献
请随时使用此提
【文件预览】:
django-redis-master
----.gitignore(5B)
----django_redis_demo()
--------api()
--------db.sqlite3(128KB)
--------django_redis_demo()
--------manage.py(637B)
----requirements.txt(101B)
----.github()
--------PULL_REQUEST_TEMPLATE.md(534B)
--------ISSUE_TEMPLATE.md(609B)
----README.md(1KB)