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.4.tar.gz (29.3 kB view hashes)

Uploaded Source

Built Distribution

djangorestframework_admin-0.0.4-py3-none-any.whl (54.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page