Use django.contrib.messages to handle acknowledgement
The acknowledgement message is no longer hardcoded in theses/views.py, but resides in the top-level strings module.
Showing
- SciPost_v1/settings.py 12 additions, 3 deletionsSciPost_v1/settings.py
- scipost/templates/scipost/base.html 1 addition, 0 deletionsscipost/templates/scipost/base.html
- scipost/templates/scipost/messages.html 8 additions, 0 deletionsscipost/templates/scipost/messages.html
- strings/__init__.py 1 addition, 0 deletionsstrings/__init__.py
- theses/test_views.py 0 additions, 4 deletionstheses/test_views.py
- theses/views.py 6 additions, 8 deletionstheses/views.py
Loading
Please register or sign in to comment