Michael Käufl
6cb932e47f
Run pyupgrade on the code
...
But don't touch string formatting.
https://pypi.org/project/pyupgrade/
2021-01-19 13:11:16 +06:00
Jannis Leidel
0f486ef6e4
Fix running on Django master.
...
This fixes an exception that was introduced upstream in 226ebb1729 (diff-ec2bed07bb264cb95a80f08d71a47c06R163-R170)
2019-12-03 11:52:00 +01:00
John Franey
41b905c92e
Update tested Python & Django versions
...
Replaces `django.utils.six` with `six` to support newer Django versions.
Updates Tox config to:
- remove unsupported Django versions
- add pypy3
- add Django 2.2
- update djmaster Python versions
2019-10-06 15:43:03 -04:00
Jannis Leidel
ea8d4deb58
Merge pull request #156 from adamchainz/readthedocs.io
...
Convert readthedocs links for their .org -> .io migration for hosted projects
2016-07-30 02:11:24 +02:00
Jannis Leidel
5dba80b313
Finally remove configurations.Settings.
2016-07-30 00:00:47 +02:00
Adam Chainz
4158480c91
Convert readthedocs links for their .org -> .io migration for hosted projects
...
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/ ) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
2016-06-11 10:56:42 +01:00
Jannis Leidel
01e3f5837f
Merge remote-tracking branch 'joke2k/dot-env'
...
Signed-off-by: Jannis Leidel <jannis@leidel.info>
Conflicts:
.gitignore
2015-01-06 22:34:29 +01:00
joke2k
27eb748d68
refactoring of DotConfiguration
2014-04-17 18:07:33 +02:00
joke2k
5279ae4ace
add support to load .env file into os.environ
2014-04-17 16:23:36 +02:00
Jannis Leidel
46809d02b2
Worked around an issue with Django 1.6's six.
2013-09-06 23:39:53 +02:00
Jannis Leidel
1da2414ee1
Minor style changes and bumping version.
2013-09-03 13:10:25 +02:00
Jannis Leidel
2c39f5f29b
Also don't raise an exception during import for the Settings class since that's now deprecated.
2013-07-27 13:05:11 +02:00
Jannis Leidel
1a54847375
Added a configuration values system.
...
This also adds some advanced features like a setup classmethod to the Configuration class.
Reorganized and extended the documentation.
2013-07-27 12:37:28 +02:00
Jannis Leidel
e31adbaeed
Renamed Settings class to Configuration to better match what it means. Settings is still importable and is marked to be deprecated in 1.0.
2013-07-27 12:05:39 +02:00
Jannis Leidel
bebe4f254b
Extended the setup methods in pre and post phase. Fixes #27 .
2013-05-15 11:32:57 +02:00
Jannis Leidel
df865840bc
Added a setup method hook for easier startup time code.
2013-05-15 10:57:30 +02:00
Michael van Tellingen
2877b66982
Initial fixes for python 3 support
2013-01-30 21:45:36 +01:00
Jannis Leidel
775e1b9225
Initial version.
2012-07-21 15:56:04 +02:00