Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update new user registration questions #2054

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update new user registration questions
  • Loading branch information
kabilar authored and waxlamp committed Oct 22, 2024
commit ad03897eada54bfb734ca046fd349c8c5d404321
11 changes: 9 additions & 2 deletions dandiapi/api/views/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,15 @@ def auth_token_view(request: Request) -> HttpResponseBase:
QUESTIONS = [
{'question': 'First Name', 'max_length': 100},
{'question': 'Last Name', 'max_length': 100},
{'question': 'What do you plan to use DANDI for?', 'max_length': 1000},
{'question': 'Please list any affiliations you have.', 'max_length': 1000},
{'question': 'Affiliation(s)', 'max_length': 1000},
{'question': 'Lab/project website', 'max_length': 1000},
{
'question': 'Please describe how your research project will utilize'
' DANDI resources. (Please note that users can freely'
' search, view, and download public datasets without'
' an account.)',
'max_length': 1000,
},
]

# questions for new users
Expand Down