Commit graph

217 commits

Author SHA1 Message Date
PCoder
03812ecf93 Register models with django-admin 2021-07-28 09:50:54 +05:30
PCoder
b266da63b2 Refactor path -> filename 2021-07-28 09:49:30 +05:30
PCoder
13b2995c34 Implement ReindexPageView 2021-07-28 09:49:13 +05:30
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
b51520df63 Add missing load static 2021-07-28 03:26:58 +05:30
PCoder
f7d41d95f2 Move demo template to the correct location 2021-07-28 03:25:27 +05:30
PCoder
a0d5c7ae78 Add demo 2021-07-28 03:23:02 +05:30
PCoder
386ea46310 Handle geodata and offline requests 2021-07-27 13:43:27 +05:30
PCoder
984eaa68f6 Add static resources 2021-07-27 12:48:59 +05:30
PCoder
8ea61dfc55 Create a simple class-based view for the HomePage 2021-07-27 12:47:39 +05:30
PCoder
54267c874f Add app/index.html from gmba-connect
Also update the static resource path using static tag
2021-07-27 12:45:12 +05:30
PCoder
ac0014cfdb Move formats.py to app 2021-07-27 12:44:16 +05:30
PCoder
e21450730d Add missing methods in models from gmba-connect 2021-07-27 10:21:02 +05:30
PCoder
d7d3ef4c46 Make migrations from the generated models.py 2021-07-27 09:50:57 +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