PCoder
270a032d36
Fix STATIC_ROOT
2021-09-02 07:03:30 +05:30
PCoder
749268b67a
Save prod logs to logs/django.log
2021-09-02 07:02:29 +05:30
PCoder
a940611a43
Add logs folder
2021-09-02 07:01:43 +05:30
PCoder
2e7e25a529
Put research parameters into correct fields
2021-08-31 22:59:41 +05:30
PCoder
1b62922706
Implement remainder of the api functionality
2021-08-31 21:55:15 +05:30
PCoder
1bbed5eecc
Implement PeopleDetailView
2021-08-31 20:40:24 +05:30
PCoder
0a24aa01e1
Implement api/search
2021-08-31 20:22:41 +05:30
PCoder
020cccf258
Fix static paths
2021-08-30 16:53:11 +05:30
PCoder
cce3222742
Comment connection params for now
2021-08-30 16:40:38 +05:30
PCoder
7edb14823e
Add ConfigurationHomePageView
2021-07-28 19:16:57 +05:30
PCoder
083e56a4de
Add admin/index.html template
2021-07-28 19:16:33 +05:30
PCoder
a2c9f728ab
Refactor base.html out of config.html
2021-07-28 19:16:05 +05:30
PCoder
52be121ddc
Add various urls
2021-07-28 17:18:27 +05:30
PCoder
f7becb5c1b
Remove template name for ReindexPageView (not used)
2021-07-28 17:17:46 +05:30
PCoder
3663e41cd3
Add Uploadview and get_progress
2021-07-28 17:17:11 +05:30
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