PCoder
8685c4a7a2
Fix issues in convert.py
...
- Replace all query with objects
- Reformat code
2021-07-27 10:28:07 +05:30
PCoder
e21450730d
Add missing methods in models from gmba-connect
2021-07-27 10:21:02 +05:30
PCoder
b628f6621d
Fix db errors in convert.py
...
- use print for logger for the time being
- replace db.session with obj.save methods
- use transaction for no_flush case
TODO: change query / filter / filter_by
2021-07-27 10:13:50 +05:30
PCoder
0b93703886
Add convert.py as is from gmba-connect
2021-07-27 10:00:44 +05:30
PCoder
f955b4375d
Add formats.py file as is from gmba-connect
2021-07-27 09:54:59 +05:30
PCoder
b4a21ae7e7
Load env before main
2021-07-27 09:53:17 +05:30
PCoder
72d55a5f14
Load development configs in asgi and wsgi
2021-07-27 09:52:27 +05:30
PCoder
d7d3ef4c46
Make migrations from the generated models.py
2021-07-27 09:50:57 +05:30
PCoder
37fc39dd7f
Add app to the installed apps list
2021-07-27 09:50:25 +05:30
PCoder
7726bc7c41
Change all CharField to TextField
...
I do not know how long these fields would be + there is not much
of a performance difference from postgres point of view which is
our preferred database
2021-07-27 09:48:34 +05:30
PCoder
223b2650ad
Introduce primary keys and remove managed = False from models
...
(Assuming we want to manage these tables using django in future)
2021-07-27 09:38:44 +05:30
PCoder
a6f2fe912d
Create app and obtain models from inspectdb
2021-07-27 09:30:24 +05:30
PCoder
c43394701e
Manage prod and dev settings separately
2021-07-26 14:03:54 +05:30
PCoder
0c05340a2c
Initial commit
2021-07-26 13:11:34 +05:30