Skip to main content

Common Utils for DjangoRestFramework, made easy.

Project description

djangorestframework-util

介绍

基于DjangoRestFramework的通用代码

规则定义

删除

  1. 逻辑删除;
  2. 禁止查看;
  3. 禁止使用;
  4. 关联关系允许展示,但状态为已删除(前端特殊展示);
  5. 关联关系允许被解除 比如,用户U加入了组G,如果G删除了,那U在我加入的组中可以主动退出;

禁用

  1. 允许查看
  2. 不允许使用

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-util-0.0.8.tar.gz (22.8 kB view hashes)

Uploaded Source

Built Distribution

djangorestframework_util-0.0.8-py3-none-any.whl (38.5 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