# djangorestframework-util
## 介绍
基于DjangoRestFramework的通用代码
## 规则定义
### 删除
1. 逻辑删除;
2. 禁止查看;
3. 禁止使用;
4. 关联关系允许展示,但状态为已删除(前端特殊展示);
5. 关联关系允许被解除
比如,用户U加入了组G,如果G删除了,那U在`我加入的组`中可以主动退出;
### 禁用
1. 允许查看
2. 不允许使用
Raw data
{
"_id": null,
"home_page": "https://gitee.com/iamfengdy/djangorestframework-util",
"name": "djangorestframework-util",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "djangorestframework util",
"author": "fengdy",
"author_email": "iamfengdy@126.com",
"download_url": "https://files.pythonhosted.org/packages/bc/2a/be2f97035fe4d67b50b1d12ebcd15c9ff94aaeb0641519fc5d19f9b79494/djangorestframework-util-0.0.8.tar.gz",
"platform": null,
"description": "# djangorestframework-util\n\n## \u4ecb\u7ecd\n\u57fa\u4e8eDjangoRestFramework\u7684\u901a\u7528\u4ee3\u7801\n\n## \u89c4\u5219\u5b9a\u4e49\n### \u5220\u9664\n1. \u903b\u8f91\u5220\u9664\uff1b\n2. \u7981\u6b62\u67e5\u770b\uff1b\n3. \u7981\u6b62\u4f7f\u7528\uff1b \n4. \u5173\u8054\u5173\u7cfb\u5141\u8bb8\u5c55\u793a\uff0c\u4f46\u72b6\u6001\u4e3a\u5df2\u5220\u9664\uff08\u524d\u7aef\u7279\u6b8a\u5c55\u793a\uff09\uff1b\n5. \u5173\u8054\u5173\u7cfb\u5141\u8bb8\u88ab\u89e3\u9664\n \u6bd4\u5982\uff0c\u7528\u6237U\u52a0\u5165\u4e86\u7ec4G\uff0c\u5982\u679cG\u5220\u9664\u4e86\uff0c\u90a3U\u5728`\u6211\u52a0\u5165\u7684\u7ec4`\u4e2d\u53ef\u4ee5\u4e3b\u52a8\u9000\u51fa\uff1b\n\n### \u7981\u7528\n1. \u5141\u8bb8\u67e5\u770b\n2. \u4e0d\u5141\u8bb8\u4f7f\u7528\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Common Utils for DjangoRestFramework, made easy.",
"version": "0.0.8",
"project_urls": {
"Homepage": "https://gitee.com/iamfengdy/djangorestframework-util",
"Source": "https://gitee.com/iamfengdy/djangorestframework-util"
},
"split_keywords": [
"djangorestframework",
"util"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0d08354eb13b93ec15feda956d126298c4fffcfb43fd7123d4e835c1e661e971",
"md5": "37ad04cd66b81a6d422cb17cb9d335d6",
"sha256": "d3bcbfc8b2eb11c363da73556de90b2d290a7efe7b5ea03804ce99c55866d49c"
},
"downloads": -1,
"filename": "djangorestframework_util-0.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "37ad04cd66b81a6d422cb17cb9d335d6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 38519,
"upload_time": "2024-04-18T03:40:28",
"upload_time_iso_8601": "2024-04-18T03:40:28.602525Z",
"url": "https://files.pythonhosted.org/packages/0d/08/354eb13b93ec15feda956d126298c4fffcfb43fd7123d4e835c1e661e971/djangorestframework_util-0.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bc2abe2f97035fe4d67b50b1d12ebcd15c9ff94aaeb0641519fc5d19f9b79494",
"md5": "3f9c697af948b29883dcfea77c119227",
"sha256": "706210918056f36abb75bfaf69bdc2e403f6573d9509f6f4f889cbdc430838d8"
},
"downloads": -1,
"filename": "djangorestframework-util-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "3f9c697af948b29883dcfea77c119227",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 22829,
"upload_time": "2024-04-18T03:40:30",
"upload_time_iso_8601": "2024-04-18T03:40:30.535652Z",
"url": "https://files.pythonhosted.org/packages/bc/2a/be2f97035fe4d67b50b1d12ebcd15c9ff94aaeb0641519fc5d19f9b79494/djangorestframework-util-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-18 03:40:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "djangorestframework-util"
}