{"id":48469806,"url":"https://github.com/contraslash/10-things-about-drf","last_synced_at":"2026-04-07T06:02:38.590Z","repository":{"id":41926683,"uuid":"212107998","full_name":"contraslash/10-things-about-drf","owner":"contraslash","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-21T20:38:51.000Z","size":7,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T05:54:46.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/contraslash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-01T13:48:39.000Z","updated_at":"2019-10-16T22:21:26.000Z","dependencies_parsed_at":"2022-08-11T22:41:25.308Z","dependency_job_id":null,"html_url":"https://github.com/contraslash/10-things-about-drf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/contraslash/10-things-about-drf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contraslash%2F10-things-about-drf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contraslash%2F10-things-about-drf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contraslash%2F10-things-about-drf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contraslash%2F10-things-about-drf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contraslash","download_url":"https://codeload.github.com/contraslash/10-things-about-drf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contraslash%2F10-things-about-drf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31501903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-04-07T06:02:36.600Z","updated_at":"2026-04-07T06:02:38.582Z","avatar_url":"https://github.com/contraslash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 10 things about DRF\n\n[medium article](https://medium.com/profil-software-blog/10-things-you-need-to-know-to-effectively-use-django-rest-framework-7db7728910e0)\n[Minimal Django](https://github.com/ma0c/tic-tac-toe-minimal-python/blob/master/server.py)\n\n\n## Ideas\n1. Django in a single file\n    - [Mini Django](https://github.com/readevalprint/mini-django)\n    - [Django vs Flask](https://adamj.eu/tech/2019/04/03/django-versus-flask-with-single-file-applications/)\n    - [Lightweight Django](https://www.oreilly.com/library/view/lightweight-django/9781491946275/ch01.html)\n1. [Serializer Method Fields](https://www.django-rest-framework.org/api-guide/fields/#serializermethodfield)\n1. [Custom Fields](https://www.django-rest-framework.org/api-guide/fields/#custom-fields)\n1. [Custom Validators](https://osborngreg.com/posts/custom-validators-django-rest-fr/)\n1. [Renaming with parameter](https://www.django-rest-framework.org/api-guide/fields/#source)\n1. [Custom urls in viewsets (Actions)](https://www.django-rest-framework.org/api-guide/viewsets/#marking-extra-actions-for-routing)\n1. Dynamic Serializers\n    - [Dynamic Rest](https://github.com/AltSchool/dynamic-rest)\n    - [DRF Dynamic Fields](https://github.com/dbrgn/drf-dynamic-fields)\n    - [DRF Flex Fields](https://github.com/rsinger86/drf-flex-fields)\n1. [Django URL Filter](https://github.com/miki725/django-url-filter)\n1. [Custom Filtering](https://www.django-rest-framework.org/api-guide/filtering/#custom-generic-filtering)\n1. [Content Negotiation](https://www.django-rest-framework.org/api-guide/content-negotiation/)\n\n\n```bash\npython -m venv ten_things_about_drf_env\nsource ten_things_about_drf_env/bin/activate\npip install django\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontraslash%2F10-things-about-drf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontraslash%2F10-things-about-drf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontraslash%2F10-things-about-drf/lists"}