Commit 0630b60f authored by EL HASSANE GARGEM's avatar EL HASSANE GARGEM
Browse files

show onboarding on admin

parent c5143e83
......@@ -32,7 +32,7 @@ class MyUserAdmin(UserAdmin):
add_form = MyUserCreationForm
list_display = UserAdmin.list_display + ('last_login',)
fieldsets = UserAdmin.fieldsets + (
(None, {'fields': ('fields',)}), # second fields refers to research fields
(None, {'fields': ('fields','onboarding')}), # second fields refers to research fields
)
......
......@@ -21,7 +21,7 @@ class User(AbstractUser):
fields = models.ManyToManyField('ResearchField', blank=True)
onboarding = models.BooleanField(
_('first connection'),
_('Show onboarding'),
default=True
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment