{"id":26682430,"url":"https://github.com/raiden70/drf_commands","last_synced_at":"2025-03-26T08:19:47.587Z","repository":{"id":57424026,"uuid":"426603079","full_name":"raiden70/DRF_Commands","owner":"raiden70","description":"DRF_commands is a Django package that helps you to create django rest framework endpoints faster using manage.py.","archived":false,"fork":false,"pushed_at":"2021-11-10T18:32:34.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T01:39:05.294Z","etag":null,"topics":["api","api-rest","django","django-rest-framework","endpoints","framework","generic-views","python3","rest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raiden70.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-10T11:51:32.000Z","updated_at":"2024-10-29T23:33:22.000Z","dependencies_parsed_at":"2022-09-14T07:52:50.429Z","dependency_job_id":null,"html_url":"https://github.com/raiden70/DRF_Commands","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden70%2FDRF_Commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden70%2FDRF_Commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden70%2FDRF_Commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden70%2FDRF_Commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raiden70","download_url":"https://codeload.github.com/raiden70/DRF_Commands/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245615024,"owners_count":20644378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-rest","django","django-rest-framework","endpoints","framework","generic-views","python3","rest"],"created_at":"2025-03-26T08:19:46.407Z","updated_at":"2025-03-26T08:19:47.563Z","avatar_url":"https://github.com/raiden70.png","language":"Python","readme":"\n# DRF_commands\n\n\nDRF_commands is a Django package that helps you to create django rest framework endpoints faster using **manage.py**. \n\nYou can visit **Django rest framework** website for more information about generic views:https://www.django-rest-framework.org/\n\nQuick start\n-----------\n1. Run ``pip install DRF_commands``\n1. Add Both \"rest_framework\" and \"DRF_commands\" to your **INSTALLED_APPS** of your **settings.py** like this::\n````python\n    INSTALLED_APPS = [\n        ...\n        'rest_framework',\n        'DRF_commands',\n    ]\n````\n2. Create a Django application using DRF_commands:\n\n   ``python manage.py createApp [yourAppName]`` \n\n3. Run ``python manage.py`` using custom commands of DRF_commands to create generic views.\n\n\nAvailable commands:\n-------------------\n* *createApp* [yourAppName]\n* *createSerializer* [appName][serializerName]\n* *APIView* [appName][viewName]\n* *CreateAPIView* [appName][viewName]\n* *DestroyAPIView* [appName][viewName]\n* *ListAPIView* [appName][viewName]\n* *ListCreateAPIView* [appName][viewName]\n* *RetrieveAPIView* [appName][viewName]\n* *RetrieveDestroyAPIView* [appName][viewName]\n* *RetrieveUpdateAPIView* [appName][viewName]\n* *RetrieveUpdateDestroyAPIView* [appName][viewName]\n* *UpdateAPIView* [appName][viewName]\n\n\u003e **_NOTE:_**\nMake sure to execute those commands with the apps created by the command ``createApp`` of ``DRF_commands``\n\n\n### Generated application working tree:\n\n```\n├── admin.py\n├── apps.py\n├── __init__.py\n├── migrations\n│   └── __init__.py\n├── models\n│   └── __init__.py\n├── serializers\n│   └── __init__.py\n├── static\n│   └── myapp\n├── templates\n│   └── myapp\n├── tests.py\n├── urls.py\n└── views\n    └── __init__.py\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiden70%2Fdrf_commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraiden70%2Fdrf_commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiden70%2Fdrf_commands/lists"}