r/learnprogramming • • 1d 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

7 comments sorted by

View all comments

1

u/Explorer651 1d ago

On the 22 seconds, Render's free tier spins a service down after 15 minutes without traffic, and spinning back up on the next request takes about a minute. If you hadn't hit the page for a while, that could be most of the delay, so try submitting twice in a row and time the second one.

1

u/Bluebill_365 17h ago

I followed what you said, it still gave the seconds for the second test and third test as well.