Commit graph

5 commits

Author SHA1 Message Date
PCoder
7fd62dd68b Use __str__ instead of __repr__
Django uses this to get the string representation of an object
2021-07-28 09:42:36 +05:30
PCoder
e21450730d Add missing methods in models from gmba-connect 2021-07-27 10:21:02 +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