Profiles models#
- class profiles.models.Profile(*args, **kwargs)#
A class to represent a profile.
- Attributes:
user (User): The user attached to this profile.
favorite_city (CharField): The name of the user’s favorite city (64 characters).
- Methods:
__str__(): Returns a string representation of the profile
- Meta:
verbose_name_plural (str): The plural name for the model in the Django admin.