Replace vet_thesislink_requests by FormView
This does not work yet. I wrote some failing tests, but while I was doing that, I came to the conclusion that I want to make the route of the get request different from the route of the post request.
Showing
- theses/factories.py 13 additions, 1 deletiontheses/factories.py
- theses/forms.py 26 additions, 16 deletionstheses/forms.py
- theses/templates/theses/vet_thesislink_requests.html 1 addition, 1 deletiontheses/templates/theses/vet_thesislink_requests.html
- theses/test_forms.py 20 additions, 2 deletionstheses/test_forms.py
- theses/test_views.py 18 additions, 5 deletionstheses/test_views.py
- theses/urls.py 1 addition, 1 deletiontheses/urls.py
- theses/views.py 32 additions, 11 deletionstheses/views.py
Loading
Please register or sign in to comment