Adam Johnson
b8e94fd796
Prevent FORMS_URLFIELD_ASSUME_HTTPS warning on Django 5.0
2024-11-18 11:37:17 +00:00
Christopher Broderick
e1091160b1
Merge pull request #383 from kloczek/master
...
really drop support for python<=3.7
2024-09-27 10:52:36 +01:00
Kamil Paduszyński
ef4f49d236
Fix #374 -- Fix URL in Configuration.load_dotenv docstring
2024-09-13 17:36:59 +02:00
Tomasz Kłoczko
6dc2340dfe
really drop support for python<=3.7
...
Filer all code over `pyupgrade --py38`.
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
2024-03-18 16:08:42 +00:00
Ran Benita
6f47271526
Fix "STATICFILES_STORAGE/STORAGES are mutually exclusive" on Django>=4.2 ( #349 )
2023-02-13 09:18:38 +01:00
Tim Gates
ac5408d7eb
docs: Fix a few typos
...
There are small typos in:
- configurations/base.py
- configurations/values.py
- docs/patterns.rst
Fixes:
- Should read `whether` rather than `wether`.
- Should read `overridden` rather than `overriden`.
- Should read `environment` rather than `enviroment`.
Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-09-01 20:41:53 +10:00
Nicolas Delaby
45a4557efe
Remove deprecated default fields only from the global
...
And keep user defined values
2022-01-24 18:46:17 +01:00
Brian Helba
6da8420635
Prevent warnings for settings deprecated in Django 2.2
...
Fixes #233 .
2021-10-25 11:15:14 -04:00
Brian Helba
40bdab3f4a
Preserve Django warnings when DEFAULT_AUTO_FIELD is not set
...
Fixes #286 .
2021-10-25 10:40:24 -04:00
Brian Helba
d715a719a4
Use a more general structure for removing deprecated settings
2021-08-31 21:38:51 -04:00
Brian Helba
f85ec1fb89
Prevent an ImproperlyConfigured warning from DEFAULT_HASHING_ALGORITHM
2021-04-09 00:20:36 -04:00
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