1
0
Fork 0
Commit Graph

8 Commits (d4fb5189d19aa7fc12e1adcfbc7b3ca07452fed6)

Author SHA1 Message Date
Corey Shields d4fb5189d1 future imports and remove unicode strings
adds from __future__ import unicode_literals, absolute_import, division, print_function to all files, removes unicode strings from RTD conf.py (none other were found in our codebase)

See also https://docs.djangoproject.com/en/1.11/topics/python3/#unicode-literals

fixes #290

tested locally in docker
2019-06-30 19:23:55 -04:00
Vasilis Tsiligiannis 4bb87e2e6a isort: Do not skip install in order to correctly detect third-party imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 20:49:10 +03:00
Vasilis Tsiligiannis 655f98f39c Use 'isort' to fix order of imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 14:08:11 +03:00
Vasilis Tsiligiannis 140180b6b3 Reformat code with 'yapf', check format using 'tox'
Use configration based on Django coding style guidelines

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 12:32:33 +03:00
Corey Shields 44fee695b5 fix bare excepts
Upon fixing CI we now have a slew of PEP8 722 issues (bare excepts).  This MR fixes all of those by excepting Exception, which should catch anything the program generates while allowing systemexit exceptions.
2018-07-14 14:50:07 -04:00
Nikos Roussos 105bd308c3
Add decorator for habdling cache more granularly 2017-05-10 12:56:23 +03:00
Nikos Roussos c5157cd450
Add API Key Tokens 2017-03-02 19:57:12 +02:00
Nikos Roussos 223647445f
Model changes to support SiDS 2017-03-02 19:54:27 +02:00