PCoder
10de2b5df6
Add RefreshPageView class
2021-07-28 17:15:53 +05:30
PCoder
4c2f2cd50e
Add various imports
2021-07-28 17:15:17 +05:30
PCoder
7eb5654d11
Use admin/config.html for the Configuration page
2021-07-28 17:14:40 +05:30
PCoder
0c285ca072
Update add_linked: add relationship fields manually
2021-07-28 17:02:58 +05:30
PCoder
5253d00c3e
Update .gitignore
2021-07-28 16:59:33 +05:30
PCoder
119efdbe0a
Create data folder
2021-07-28 14:44:30 +05:30
PCoder
837592039c
Complete ConfigurationPage porting
2021-07-28 12:43:08 +05:30
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
2b0ed41a3c
Fix demo page url
2021-07-28 03:24:22 +05:30
PCoder
a0d5c7ae78
Add demo
2021-07-28 03:23:02 +05:30
PCoder
a432f2e5c2
Use appropriate names for data/geodata requests
2021-07-27 13:48:23 +05:30
PCoder
eef66507e9
Handle data request and comment out requests to be implemented
2021-07-27 13:45:56 +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
a76c547fc4
Fix more formatting issues
2021-07-27 10:30:20 +05:30
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