Commit Graph

11 Commits

Author SHA1 Message Date
Tom Hacohen
3ccb40055e Add an index page to make it more obvious it works.
People were getting confused by the index page returning a 404, so this
commit adds an index page so it returns a 200 and looks like it works.
2019-06-07 08:53:50 +01:00
Pierre-Alain TORET
3d4321e50c Support loading configuration from an external file 2019-05-20 11:03:04 +01:00
Tom Hacohen
8f50a69b39 Add missing STATIC_ROOT.
Thanks @jrvarma.
2018-11-01 11:51:26 +00:00
Ben Boeckel
e02fa53c34 settings: defer SECRET_KEY until after site settings
This allows overriding just `SECRET_FILE` for a custom secret path.
2018-10-30 10:13:53 -04:00
Ben Boeckel
872af56e2c settings: support an external settings file
Fixes #8
2018-10-30 10:13:53 -04:00
Ben Boeckel
f1bfaf0242 settings: split SECRET_FILE from SECRET_KEY 2018-10-29 18:23:43 -04:00
Tom Hacohen
de4f49973f Disable CORS altogether.
This solves #4 better than dfc7c8b163
2018-06-28 16:39:41 +01:00
Victor Rezende dos Santos
27d56ee87b Update Dependencies
* Updated etesync/journal-manager to v0.5.2
* Updated Django to 2.0.5
  - Updated documentation links
  - Changed syntax and imports of `urls.py`
* Updated Django REST Framework to 3.8.2
* Updated DFR Nested Routers to 0.90.2
2018-05-03 00:39:05 +01:00
x11x
69655008e0 Refactor out the secret.txt file handling to a utils module 2018-02-18 14:19:29 +10:00
x11x
276a926fcb Use secret.txt file auto-generated in project root as default SECRET_KEY
Also add it to .gitignore
2018-02-18 13:43:29 +10:00
Tom Hacohen
932d3803ed Initial commit of the actual server code. 2017-11-19 21:36:48 +00:00