added field nd_number_study_subject_regex
added checks for forms added check function in Study and StudySubject to avoid repeating a regex inline removed previous checks in which the regex was rewritten now the used regex is the one defined in the given study added tests and migrations changed functions in tests/functions to adapt the tests
parent
1b70da09
No related branches found
No related tags found
Showing
- smash/web/forms/study_forms.py 14 additions, 4 deletionssmash/web/forms/study_forms.py
- smash/web/forms/study_subject_forms.py 1 addition, 1 deletionsmash/web/forms/study_subject_forms.py
- smash/web/migrations/0119_auto_20181024_1158.py 25 additions, 0 deletionssmash/web/migrations/0119_auto_20181024_1158.py
- smash/web/migrations/0120_study_nd_number_study_subject_regex.py 20 additions, 0 deletions...eb/migrations/0120_study_nd_number_study_subject_regex.py
- smash/web/migrations/0121_auto_20181024_1859.py 20 additions, 0 deletionssmash/web/migrations/0121_auto_20181024_1859.py
- smash/web/models/study.py 19 additions, 0 deletionssmash/web/models/study.py
- smash/web/models/study_subject.py 20 additions, 6 deletionssmash/web/models/study_subject.py
- smash/web/templates/study/edit.html 9 additions, 1 deletionsmash/web/templates/study/edit.html
- smash/web/tests/forms/test_study_forms.py 40 additions, 0 deletionssmash/web/tests/forms/test_study_forms.py
- smash/web/tests/functions.py 16 additions, 6 deletionssmash/web/tests/functions.py
- smash/web/tests/models/test_study.py 11 additions, 3 deletionssmash/web/tests/models/test_study.py
- smash/web/tests/models/test_study_subject.py 45 additions, 13 deletionssmash/web/tests/models/test_study_subject.py
- smash/web/tests/view/test_appointments.py 1 addition, 1 deletionsmash/web/tests/view/test_appointments.py
- smash/web/views/appointment.py 18 additions, 4 deletionssmash/web/views/appointment.py
Loading
-
mentioned in issue #257 (closed)
-
I don't know exactly what might be the conflict. I will check it tomorrow. I think I picked the function
get_by_id
of study.py.Edited by Carlos Vega
Please register or sign in to comment