Commit graph

116 commits

Author SHA1 Message Date
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
Drew Winstel
a045609934 Drop obsolete Django 1.8 and 1.10 from Travis configs (#207)
* Drop obsolete versions of Django from Travis tests

Django 1.8 reached EOL in April 2018.
Django 1.10 reached EOL in December 2017.

* Add support for testing Django 2.0 and 2.1 on Python 3.7

* Drop obsolete test (requires Django < 1.10)
2018-08-16 17:03:31 +02:00
Drew Winstel
c804a30aa2 Add changelog for version 2.1 2018-08-16 14:38:37 +02:00
Daniel Hahler
b1d92cf85d doc: add version information to PositiveIntegerValue
Ref: 1c6fd0f505 (r29675182)
2018-07-11 22:05:59 +02:00
Jannis Leidel
80a648bb03 Revert "doc: cookbook: document workaround for celery (#197)"
This reverts commit 2b0d2cee0a.
2018-07-11 20:46:21 +02:00
gthieleb
2b0d2cee0a doc: cookbook: document workaround for celery (#197)
See https://github.com/jazzband/django-configurations/issues/196
2018-07-11 17:52:23 +02:00
Mike
1c6fd0f505 Add PositiveIntegerValue to only allow positive integers (#186) 2018-03-15 13:19:50 +01:00
Pavel Savchenko
3883cc4fe4 Docs: explicitly describe property in patterns.rst (#189)
Hopefully this saves time for new users of django-configuration (like myself), who "just needed" to lazily evaluate a string inside a dictionary.

This doubles as an example for `RAVEN_CONFIG` which was the whole reason I was here in the first place... The actual problem I faced was that a setting remains of type `values.Value` when nested inside a dictionary. Which results in a weird issues like this:

```
2018-02-24T20:59:26.125208+00:00 app[web.1]: Traceback (most recent call last):
2018-02-24T20:59:26.125364+00:00 app[web.1]:     self.client.http_context(self.get_http_context(environ))
2018-02-24T20:59:26.125215+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/raven/middleware.py", line 98, in __call__
2018-02-24T20:59:26.125368+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/raven/contrib/django/models.py", line 54, in <lambda>
2018-02-24T20:59:26.125482+00:00 app[web.1]:     __getattr__ = lambda x, o: getattr(get_client(), o)
2018-02-24T20:59:26.125486+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/raven/contrib/django/models.py", line 134, in get_client
2018-02-24T20:59:26.125613+00:00 app[web.1]:     instance = Client(**options)
2018-02-24T20:59:26.125618+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/raven/contrib/django/client.py", line 147, in __init__
2018-02-24T20:59:26.125769+00:00 app[web.1]:     Client.__init__(self, *args, **kwargs)
2018-02-24T20:59:26.125771+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/raven/base.py", line 171, in __init__
2018-02-24T20:59:26.125927+00:00 app[web.1]:     self.set_dsn(dsn, transport)
2018-02-24T20:59:26.125929+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/raven/base.py", line 251, in set_dsn
2018-02-24T20:59:26.126063+00:00 app[web.1]:     if dsn not in self._transport_cache:
2018-02-24T20:59:26.126076+00:00 app[web.1]: TypeError: unhashable type: 'Value'
```
2018-02-27 21:43:18 +01:00
e_fpischedda
6ed4559c92 doc: mention how to configure Daphne (channels interface server)
Closes https://github.com/jazzband/django-configurations/pull/164.
2017-09-24 00:33:29 +02:00
Luke Murphy
645395af47 Add docs for environ_name functionality (#174)
* Add note for final value forcing

Closes https://github.com/jazzband/django-configurations/issues/173

* Remove white space.
2017-07-16 16:10:46 +02: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
eb0cde231b Update changelog. 2016-07-30 00:03:19 +02:00
Johannes Hoppe
9592356572 Move sphinx callback to a separate sphinx submodule 2016-06-13 12:26:52 +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
Nicolas Delaby
cf3961ea1d Bump upcoming version to 2.0 as this changeset introduce breaking change 2016-01-27 21:08:54 +01:00
Nicolas Delaby
063bf61a16 Drop support of python 2.6, 3.2 and Django < 1.8 2016-01-27 21:08:54 +01:00