13 Commits (8c71bcddcab016ba7c086176a7354d1278f12bff)

Author SHA1 Message Date
Pierre-Alain TORET 22198d387d Make settings in .ini optional and add new ones
Fixes #24

New settings available :
STATIC_ROOT
STATIC_URL
LANGUAGE_CODE
TIME_ZONE
5 years ago
Tom Hacohen b026643cce Update code according to drf changes. 5 years ago
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.
6 years ago
Pierre-Alain TORET 3d4321e50c Support loading configuration from an external file 6 years ago
Tom Hacohen 8f50a69b39 Add missing STATIC_ROOT.
Thanks @jrvarma.
6 years ago
Ben Boeckel e02fa53c34 settings: defer SECRET_KEY until after site settings
This allows overriding just `SECRET_FILE` for a custom secret path.
6 years ago
Ben Boeckel 872af56e2c settings: support an external settings file
Fixes #8
6 years ago
Ben Boeckel f1bfaf0242 settings: split SECRET_FILE from SECRET_KEY 6 years ago
Tom Hacohen de4f49973f Disable CORS altogether.
This solves #4 better than dfc7c8b163
7 years ago
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
7 years ago
x11x 69655008e0 Refactor out the secret.txt file handling to a utils module 7 years ago
x11x 276a926fcb Use secret.txt file auto-generated in project root as default SECRET_KEY
Also add it to .gitignore
7 years ago
Tom Hacohen 932d3803ed Initial commit of the actual server code. 7 years ago