एक custom user model Django च्या डिफॉल्ट User ला बदलून आपल्या अॅप्लिकेशनच्या गरजा पूर्ण करते — फील्ड जोडून, लॉगिन identifier बदलून (उदा. username ऐवजी email), किंवा वर्तन कस्टमाइজ करून. महत्वाचा, वारंवार दिला जाणारा सल्ला: custom user model प्रोजेक्टच्या सुरुवातीच सेट अप करा, जरी तुम्हाला अजून बदल हवेत नसले तरी, कारण नंतर हे बदलणे अत्यंत कठीण आहे.
डिफॉल्ट User मर्यादित आहे आणि नंतर बदलणे कठीण आहे
The default User has fixed fields (username, email, first/last name) and uses
USERNAME as the login field. Real apps often need:
✓ Email-based login (no username)
✓ Extra fields (phone, avatar, role, preferences) on the user itself
✓ Custom authentication behavior
