Skip to content

Instantly share code, notes, and snippets.

View mhimanshu0101's full-sized avatar
🎯
Focusing

Martial Himanshu mhimanshu0101

🎯
Focusing
View GitHub Profile
@LeanSeverino1022
LeanSeverino1022 / markdown-cheatsheet.md
Last active July 24, 2023 07:43
markdown cheatsheet #markdown #cheatsheet
@ChengLuFred
ChengLuFred / cheat sheet.md
Last active January 14, 2024 05:42
[Markdown Cheat Sheet] #Markdown
  1. Markdown markdown

  2. R markdown rmarkdown

@D2theR
D2theR / README.md
Last active February 28, 2024 17:34
Auto-generates Serializers & ModelViewSets in a Django API using just models

Why?

I got sick of writing the same Serializer & ModelViewSet classes over and over so I found and wrote some code to do it for me, and somehow it works! Please note that there are a lot of caveats to running an API like this and while this may work, I know there's A LOT of room for improvement, feel free to fork and help!

USAGE

Import the router module to your main sites urls.py file as the injection point like so... Make sure to remove any other imports from other viewsets that you don't need that may conflict!