Files
web_django_template/site/accounts/models.py
T
westfarnandCursor 787f0e48fb Populate the client website template with catalog feature flags.
Extract always-on public/portal/UTM plus optional email_sms, directmail, blog, payments, social, and social_ai so new client sites can be bootstrapped from this seed.

Refs #1
Refs #2

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 07:55:26 -05:00

20 lines
601 B
Python

from django.conf import settings
from django.db import models
from core.models import TimeStampedModel
class RealtorProfile(TimeStampedModel):
user = models.OneToOneField(
settings.AUTH_USER_MODEL,
on_delete=models.CASCADE,
related_name="realtor_profile",
)
display_name = models.CharField(max_length=120, blank=True)
phone = models.CharField(max_length=32, blank=True)
title = models.CharField(max_length=120, blank=True)
bio = models.TextField(blank=True)
def __str__(self) -> str:
return self.display_name or self.user.get_username()