Hi everyone!
My name is Light, its my first-time particpating in Google Summer of Code (GSoC), am equally excited and nervous at the same time. I’ve chosen Django as the organization I’d love to contribute to, because i love it and worked with it for the majority of my tech life.
I’d like to propose a developer tool called “Django Model Playground Generator”, and I’d love your feedback to refine the idea and see if it would be a good fit for GSoC 2025
The Problem
This problem is something i myself have experienced, i manually write CRUD views and templates to test the models including forms also, and its really repetitive and time-consuming to do. Im sure other developers experince this also.
The Proposed Solution
A management command (or external Django app) that automatically generates basic, functional CRUD interfaces for selected models in your app.
The goal is to create a kind of sandbox or playground where developers can:
-
View and test all model fields through real forms and templates.
-
See how Django’s model → form → view → template flow works.
-
Optionally populate models with mock data using
Faker
.
Key Features
When this command is entered python manage.py generate_playground
it generates:
- views.py with CRUD functions
- urls.py with respective routes
- forms.py with model forms
- Basic html templates
- –fake 10 to generate 10 fake records using Faker(optionally)
The output code is ofcourse editable and resued to fit your needs
Results
- Developers saves time in writing boilerplate, which resonate with the whole idea of django.
- Prototyping in early-stage ideas
- For educating django’s flow
Looking for Feedback
I’d love your thoughts on:
- Is this a tool Django developers would find useful?
- Should this live as an external app or have potential as a contrib tool?
- Are there existing tools like this I should be aware of?
- What features would you want to see in a playground generator?
Any feedback or guidance would be greatly appreciated! I’d love to turn this into a strong GSoC proposal with the community’s help.
Thanks so much
.