AWGL / somatic_db

A database for analysing cancer NGS data within AWMGS
https://awgl.github.io/somatic_db/
0 stars 2 forks source link

Use messages framework for error/ success messages #121

Open erikwaskiewicz opened 2 months ago

erikwaskiewicz commented 2 months ago

This was previously a TODO within the code but had been removed #TODO - add some kind of confirmation, will only work if messages framework is used instead of custom error/success messages

The TODO is specifically a success message after you've filled out the signup form, but not possible with current setup as the page will refresh and we lose the variables. Messages framework handles this nicely and would remove a lot of boilerplate code - https://docs.djangoproject.com/en/5.0/ref/contrib/messages/

This was used the the CML database and works really well