tag: one-to-one relationship

How to create a fullstack application using Django and Python Part 26
Maria D. Campbell
In this section, I extend the built-in Django User with a Profile model containing extra fields, create the Profile model in accounts/models.py, extend the User model using a one-to-one relationship with the built-in User, add a profile url to accounts.urls.py, moved the account url in boards/urls.py to accounts/urls.py, install the pillow package to enable use of the ImageField in the Profile model, configure urls.py for user-uploaded media files during development, implement signals.py in the accounts app, create an update profile form, create a profile.html template, delete existing users pre User profile and create new ones, and make styling adjustments to various templates.
#fullstack development, #macOS, #django, #extended built-in user, #imagefield, #one-to-one relationship, #pillow, #python3, #series