mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 10:59:21 +02:00
Basic setup stuff
This commit is contained in:
parent
c9a735bf6a
commit
d268ef54b1
8 changed files with 110 additions and 13 deletions
|
@ -80,6 +80,13 @@ class User(AbstractUser):
|
|||
help_text="The means through which this user was verified",
|
||||
)
|
||||
|
||||
# Tracks if the user finished their profile setup or not. This is so
|
||||
# we can globally enforce that new users provide additional context before proceeding.
|
||||
finished_setup = models.BooleanField(
|
||||
# Default to true so we don't impact existing users. We set this to false downstream.
|
||||
default=True
|
||||
)
|
||||
|
||||
def __str__(self):
|
||||
# this info is pulled from Login.gov
|
||||
if self.first_name or self.last_name:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue