7e476c39dc
Drop migration of "paid" to non-nullable
...
The DB contains NULLs here, and I'll just leave them be.
2020-01-26 19:48:31 +01:00
2313f0bcb5
Write migration -- don't run, not tested
2020-01-26 18:53:14 +01:00
6d7baa31ea
Final fixes before generating migration
2020-01-26 16:25:59 +01:00
9588116ba7
Fix data model before generating migration
2020-01-26 03:04:37 +01:00
e46d5e622e
Fix references to removed concepts
...
This will probably not work but it's a start and it was needed to get
the DB migrations running
2020-01-26 02:52:45 +01:00
ecb0550fdd
Update models
2020-01-26 02:39:58 +01:00
d564808417
Correct misspelled "courrier" to "courier"
2020-01-26 02:28:20 +01:00
f2c6ad9c89
Remove old, database-based models
2020-01-26 02:13:02 +01:00
Jan-Pieter Baert
8a0e6e3047
Merge branch 'master' into fix-pylint-formatting
2019-10-16 15:00:45 +02:00
0af72376a1
Increase line length limit to 100
...
Up from 80.
2019-09-12 20:53:26 +02:00
Jan-Pieter Baert
ec82639c5c
Fix pylint for models files
2019-09-12 20:50:17 +02:00
Jan-Pieter Baert
cff24dc096
Allow courrier to delete item in order
2019-09-12 18:42:29 +02:00
Jan-Pieter Baert
c64e4bd998
Run black and isort on all code
2019-09-08 02:04:34 +02:00
Jan-Pieter Baert
27cb10f745
Add typing to model files
2019-09-08 00:41:50 +02:00
mcbloch
d591f846d8
add and run black formatter
2019-09-05 03:33:29 +02:00
mcbloch
ffa11a6a87
remove python 2, deprecated af
2019-08-31 00:50:01 +02:00
mcbloch
d0863325a5
Restructuring the codebase!
...
But for real, it's a real shitstorm in there.
- Added context by making the init go through a function
and not implicitly happen via imports
- Fixup all context and contextless function mixups
- splitup the models in sensible different files
- give the dump of view functions in views/__init__.py their own file
- add all routes via blueprints, not half of them
- move the slack notifications function and class to its own file,
no idea what it was doing in a views file in the first place.
2019-08-28 03:46:04 +02:00