8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-09-19 20:53:09 +00:00
re2o/printer/migrations
Maxime Bombar d7233a0845 [Printer] Fix major bug. See below for more explanations :
Before, I used request.session to store some information about the current jobs to be printed.
This was because in the very beginning, I had an issue with disappearing files in my model.

I was able to fix this issue in a previous commit, but I still needed the jids.
However, because of this storage system, if someone tried to print a file, then oppened a second tab,
and tried to print anoter file, he/she would pay twice for the second file ....

I decided to add a hidden field to store the job id and deal with it, and it is readonly to avoid
changing it.
2018-12-06 17:57:57 +01:00
..
0001_initial.py printer/migrations 2018-12-06 17:57:37 +01:00
0002_auto_20180628_2032.py printer/migrations 2018-12-06 17:57:37 +01:00
0003_auto_20180803_0854.py [printer] New migration 2018-12-06 17:57:37 +01:00
0004_auto_20180907_1607.py [Printer] Upload file to print and manages options 2018-12-06 17:57:37 +01:00
0005_jobwithoptions_filename.py [Printer] Upload file to print and manages options 2018-12-06 17:57:37 +01:00
0006_auto_20180908_1258.py Price is a decimal field 2018-12-06 17:57:37 +01:00
0007_auto_20180925_1351.py [Printer] Add new Job status 2018-12-06 17:57:37 +01:00
0008_auto_20181012_1242.py Change default storage for uploaded files 2018-12-06 17:57:37 +01:00
0009_jobwithoptions_paid.py [Printer] Fix major bug. See below for more explanations : 2018-12-06 17:57:57 +01:00
__init__.py [Printer] Upload file to print and manages options 2018-12-06 17:57:37 +01:00