Commit graph

131 commits

Author SHA1 Message Date
P1roks
bc11925cdd make DOTENV setting more robust
Add additional config options to DOTENV while retaining compatibility with the old way of setting it
2024-11-11 22:32:29 +01:00
Paolo Melchiorre
cad6dcb7f0
Fix #355 - Update to Django 4.2 stable (#356) 2023-04-04 12:56:38 +02:00
Paolo Melchiorre
adaf92085f Fix #353 Improve code blocks in documentation 2023-02-15 07:50:29 +01:00
Paolo Melchiorre
a1f072ebf3
Fix #351 Use 'furo' as Sphinx theme (#352) 2023-02-14 16:01:22 +01:00
Ran Benita
6f47271526
Fix "STATICFILES_STORAGE/STORAGES are mutually exclusive" on Django>=4.2 (#349) 2023-02-13 09:18:38 +01:00
Paolo Melchiorre
352d95b2ab
Update github actions and fix pipeline 2023-01-19 18:06:05 +01:00
Paolo Melchiorre
1f8bac5ba4 Fixed #344 - Run tests on python 3.11 2022-11-04 18:52:34 +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
Paolo Melchiorre
40d244d865 Update docs/changes.rst
Co-authored-by: Michael K. <michael-k@users.noreply.github.com>
2022-08-25 10:58:39 +02:00
Paolo Melchiorre
8923ef8c49 Prepare next release 2.4 2022-08-25 10:58:39 +02:00
Paolo Melchiorre
794b858548
Fixed #336 -- Update Python and Django versions (#337) 2022-08-05 16:42:58 +02:00
Nicolas Delaby
fcba8b6d92 Prepare next release 2.3.2 2022-01-25 09:26:07 +01:00
Nicolas Delaby
5f438451ea add changelog entry 2022-01-24 18:57:41 +01:00
Jannis Leidel
c3b5e8627b
Update changelog. 2021-11-08 16:56:32 +01:00
Brian Helba
93e628e870
Refactor the documentation build process (#311)
* Refactor the documentation build process

Significant improvements:
* Allow easy isolated local builds via a dedicated Tox environment
* Configure Sphinx to use consistent packages and theme across local, CI,
  and ReadTheDocs builds; local builds now look the same as the published
  RTD pages
* Explicitly add a ReadTheDocs configuration as code, per their documented
  best practices
* Remove lots of dead code and simplify the Sphinx configuration file
* Build docs in a dedicated CI step and enable stricter warning checking

* Fix docutils related build error.

* Relax Sphinx version.

* Invalidate RTD build cache.

* No need to combine coverage reporting I think.

* Add combining again.

Co-authored-by: Jannis Leidel <jannis@leidel.info>
2021-11-08 16:49:41 +01:00
Jannis Leidel
750f143724
Fix documentation build errors. 2021-11-08 15:48:07 +01:00
Brian Helba
5698fe35b2 Finalize changelog for 2.3 release 2021-10-27 22:40:16 +06:00
Brian Helba
5562322599 Update changelog 2021-10-27 14:24:34 +06:00
Brian Helba
03dc29848e Fix "reference target not found" warnings in the docs
These were found by running Sphinx in nitpicky mode.
2021-10-27 10:17:56 +02:00
Brian Helba
596ab9a1bf Restore an example of a dependent setting to the docs
This was removed by #303. This now uses a real Django setting,
"DEBUG_PROPAGATE_EXCEPTIONS", instead of a deprecated one.
2021-10-27 10:16:59 +02:00
Brian Helba
80f2cee84b Update the copyright date range 2021-10-27 08:06:34 +02:00
Brian Helba
6c2ea44352
Merge pull request #303 from jazzband/template-debug 2021-10-25 12:33:25 -04:00
Brian Helba
2d9e145a0f
Merge pull request #258 from arsensokolov/master 2021-10-25 12:33:08 -04:00
Brian Helba
b75c8d7a7a Remove references to TEMPLATE_DEBUG
This setting is deprecated since Django 1.8.
2021-10-25 12:18:19 -04:00
Brian Helba
df51535afc
Merge pull request #291 from jazzband/feature/asgi 2021-10-25 09:49:54 -04:00
Brian Helba
55a92d86ad
Merge pull request #252 from timgates42/bugfix_typo_whether 2021-10-25 09:08:12 -04:00
Brian Helba
fad40b8003
Merge pull request #256 from bmispelon/malformed-rst-links 2021-10-25 09:05:23 -04:00
Finn-Thorben Sell
6a4a620891
add additional documentation references to asgi.py 2021-09-09 15:11:49 +02:00
Brian Helba
271f6fb5bb Replace references to MIDDLEWARE_CLASSES with MIDDLEWARE
MIDDLEWARE_CLASSES was removed in Django 2.0.
2021-08-31 22:01:34 -04:00
Michael Käufl
9b9ff4c0a2 Deprecate utils.import_by_path in favor of django.utils.module_loading.import_string 2021-01-19 13:11:16 +06:00
Michael Käufl
c3d5b4b715 Add support for Python 3.9 2021-01-19 13:11:16 +06:00
Michael Käufl
add9b3ce80 Add support for Django 3.1 and 3.2 2021-01-19 13:11:16 +06: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
Michael Käufl
fcdbfc0bcb Drop support for Python 3.5
It has reached its EOL in September 2020, see
https://www.python.org/dev/peps/pep-0478/#release-schedule
2021-01-19 13:11:16 +06:00
Michael Käufl
dd5d6974cb Drop support for Django < 2.2 LTS, incl. Python 2.7 2021-01-19 13:11:16 +06:00
Arseny Sokolov
b9648bddb3
Add DictValue example 2020-06-17 23:38:48 +08:00
Baptiste Mispelon
566af30ce6 Fixed malformed links in documentation 2020-05-29 12:15:08 +02:00
Tim Gates
3b3f5db60d
docs: Fix simple typo, wheter -> whether
There is a small typo in docs/values.rst.

Should read `whether` rather than `wheter`.
2020-03-12 06:40:15 +11:00
Jannis Leidel
42641f5eb4
Switch to setuptools-scm. 2019-12-03 13:09:15 +01:00
Jannis Leidel
3de33277a7
Update changelog. 2019-12-03 12:00:41 +01:00
Paolo Melchiorre
12ea3c0a5b Prepare release v2.2 2019-12-02 14:26:05 +01:00
John Franey
7e74d67308 Update changelog for v2.2 2019-11-29 12:03:02 -05:00
Harry Moreno
f887ad5821
Explain default value for ecretValue() 2019-01-24 15:41:33 -05:00
Harry Moreno
2db80d8c34
Flesh out usage of values.Value() in .env 2019-01-24 15:37:34 -05:00
Harry Moreno
f65000b38e
remove quote from secret key to fix syntax 2019-01-24 15:13:00 -05:00
Harry Moreno
4c64bb602f
Improve reading from .env
* fix runtime error when `values` is accessed
* show how an env var can be set and read
2019-01-19 16:23:59 -05:00
Peter Bittner
ec56685da4 Move Sentry recommendations to Cookbook section
Fix code sample bug

Use code-block markup consistently
2018-12-14 09:34:35 +01:00
Peter Bittner
e7d63e0815 Explain how to read .env files 2018-12-10 03:47:52 +01:00
spookyUnknownUser
6bc31023d2
Drop heroku from example
It doesn't actually work the way I thought it did. Though sentry still works great!
2018-10-29 12:47:35 +02:00
spookyUnknownUser
54e4e76af9
Add sentry example to patterns 2018-10-28 23:57:36 +02:00