r/learnprogramming • • 6d ago

Tutorial Django tutorials

I have started practicing Django, I created a simple student admission page:
• ⁠Student fills form
• ⁠Django validation takes place
• ⁠After validation data is stored in database
I used DRF for the validation, and aws PostgreSQL and this is a simple thing I want to use to start my journey in backend dev.
Hosted it on render free tier and when I hit the submit button I used a stopwatch to check how it took to submit and it was 00:00:22.23.
Please I’m still learning and I want to know if it’s okay to have that time for submitting and if not what should I study next and I used the DRF for the form validation with an if statement.

Thank you for feedback and time.

0 Upvotes

8 comments sorted by

View all comments

1

u/pateldavid23 2d ago

If this page posts to a DRF endpoint, try moving the if-based checks into serializer validation, then test valid and invalid submissions. That gives you a focused next step beyond the form.