Skip to main content

Admin Backend Web APIs for DjangoRestFramework, made easy.

Project description

djangorestframework-admin

介绍

基于DRF开发的后台管理

原则

模块依赖

搜索限制

  1. 被依赖对象不能根据依赖对象过滤 比如角色依赖用户,那用户就不能根据角色进行搜索;

软件架构

软件架构说明

  • auth,身份认证与管理模块

    • jwt,基于JWT的登录与校验
    • model,基于models.Model的登录
  • user,用户管理

    • group, 用户组
  • role,角色管理

    • permission,权限管理(RBAC模型)
  • static,静态资源

    • swagger-ui,swagger文档的静态资源
  • system,系统配置管理模块

使用

  1. 新建DRF项目(以backend为例);
  2. 安装
  3. 重置配置文件
cd backend/backend
mv settings.py default_settings.py
cp .../rest_framework_admin/template/settings.py ./
cp .../rest_framework_admin/template/urls.py ./
  1. 根据需要更新

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

djangorestframework-admin-0.0.6.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

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

djangorestframework_admin-0.0.6-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file djangorestframework-admin-0.0.6.tar.gz.

File metadata

File hashes

Hashes for djangorestframework-admin-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6a754e6ffb08c34de755aeb3566d3c1b901bcd6f66b44b7550b5b8ca5340a0ee
MD5 1c7db9d954f8842bc117edd549e1d77f
BLAKE2b-256 edbb0d7ccb8523eed3cc7fd35d4f7aa759edbbca616afe11c7ccaaed4fdbc68a

See more details on using hashes here.

File details

Details for the file djangorestframework_admin-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for djangorestframework_admin-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fdffe119330cfa4533968279ec85b24d2fdfc7e24dd6caa7cd079cf3d03c424b
MD5 5bcd5fe7379f6b8229beaa351c73e4f2
BLAKE2b-256 030a5fa539c85f2fffdf296ed8b873a9f3425fb20979f2b7f5fef5a6e70700d7

See more details on using hashes here.

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