ponder-lab / Imperative-DL-Study-Web-App

0 stars 0 forks source link

Ask a categorizer for name and initials on their first login #143

Closed ZhongweiL closed 3 years ago

ZhongweiL commented 3 years ago

Intends to resolve issues #100 and #132 Potential issue: A logged-in categorizer could change the URL to access and submit the form multiple times(with different names and initials) to create multiple entries in the categorizers table. I don't think the database prevents the user from doing that.

Tests:

khatchad commented 3 years ago

@ZhongweiL How was this tested and what were the results?

khatchad commented 3 years ago

Also:

Intends to resolve issues #100 and #132 Potential issue: A logged-in categorizer could change the URL to access and submit the form multiple times(with different names and initials) to create multiple entries in the categorizers table. I don't think the database prevents the user from doing that.

Was this potential issue solved?

khatchad commented 3 years ago

Looks like there's some test plans here: https://github.com/ponder-lab/Imperative-DL-Study-Web-App/issues/132

ZhongweiL commented 3 years ago

Also:

Intends to resolve issues #100 and #132 Potential issue: A logged-in categorizer could change the URL to access and submit the form multiple times(with different names and initials) to create multiple entries in the categorizers table. I don't think the database prevents the user from doing that.

Was this potential issue solved?

I've been looking into some documentation for one-to-one relationships and I think this might satisfy our needs. https://docs.djangoproject.com/en/3.2/ref/models/fields/#django.db.models.OneToOneField