YUNOVA · Python programming

Module 22: Django & Backend

Notes for offline study · 30 November 2026

Django project kaise start kare

Key points

  • एक command से नया Django project बनता है।
  • एक project में कई app हो सकते हैं, हर app एक हिस्सा संभालता है।
  • चलाने पर वह अपने computer पर browser में खुलता है।

Django me model aur database

Key points

  • Model एक Python class है जो database की एक table बन जाती है।
  • हर field एक column बनता है।
  • दो command चलाने पर ही table असल में बनती है।

Django template se page banana

Key points

  • Template वह HTML file है जो उपयोगकर्ता को दिखती है।
  • भेजी गई value template में curly bracket से दिखाई जाती है।
  • थोड़ा if और for template में भी चलता है, पर हिसाब अलग रखें।

FastAPI se REST API banana

Key points

  • FastAPI से REST API जल्दी बनती है और अपने आप जाँच भी करती है।
  • हर पते के लिए एक function लिखा जाता है।
  • यह अपने आप एक page बना देता है जहाँ API आज़माई जा सकती है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.