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
Daniel Hahler
abe1890c5b
Merge pull request #142 from mauricioabreu/add-standalone-script-doc
...
Add documentation for standalone scripts
2016-01-12 15:42:10 +01:00
Mauricio de Abreu Antunes
6d52e560a3
Add documentation for standalone scripts
2016-01-12 12:22:08 -02:00
Mauricio de Abreu Antunes
0a4cae9c2b
Handle example usage for Django 1.9
...
Django 1.9 makes the languages setting a list of tuples.
2016-01-08 18:27:30 -02:00
Nicolas Delaby
8f68d93a3c
Add stub release note for v1.0.1
...
Encourage developers to contribute to the changelog as they go.
2016-01-05 10:26:08 +01:00
Nicolas Delaby
261817d965
Prepare next release 1.0
2016-01-04 14:24:50 +01:00
James Keys
4da8939df0
Update changelog.
2016-01-04 14:24:50 +01:00
Jannis Leidel
dd128b586d
Moved to Jazzband.
2015-12-17 10:22:38 +01:00
Jannis Leidel
010067b433
Introduced environ_required parameter for Value class. Refs #118 .
2015-08-09 14:54:55 +02:00
Jannis Leidel
4d35ad346c
Call django.setup() for Sphinx, too.
...
This also adds a configurations.setup() analogue to django.setup().
2015-02-13 22:18:33 +01:00
Jannis Leidel
8f617ad98c
Merge pull request #85 from abbottc/master
...
Add values.TupleOfTuplesValue (plus associated tests and docs)
2015-02-13 22:08:08 +01:00
Jannis Leidel
ffbf79c95d
Removed gittip.
2015-01-15 13:06:02 +01:00
Christian Abbott
8287ab6f7f
Merge remote-tracking branch 'upstream/master'
2015-01-07 03:19:24 -08:00
Christian Abbott
e0a68fdbb6
Rename TupleOfTupleValue to SingleNestedTupleValue; Add SingleNestedListValue and do a DRY refactor of ListValue, TupleValue, and their SingleNested subclasses
2015-01-07 03:08:30 -08:00
Jannis Leidel
14dd728ad4
Improved docs.
2015-01-07 00:06:38 +01:00
Jannis Leidel
8a34b53500
Fixed version in docs.
...
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-07 00:05:47 +01:00
Jannis Leidel
f2a46fb009
Merge remote-tracking branch 'nagyv/patch-1'
...
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-07 00:05:27 +01:00
Jannis Leidel
98de57b27e
Added configurations.management.call_command. Fix #72 .
2015-01-06 21:38:08 +01:00
Christian Abbott
c4ba5ca559
Add TupleOfTuplesValue along with associated tests and updated documentation
2014-12-18 07:15:20 -08:00
Nikolai Prokoschenko
d97afc163a
Correct documentation about mixin usage
...
`Configuration` class needs to be last in the inheritance list, otherwise it's not possible to override Django's default settings. Tests are already correct, just the documentation is wrong.
2014-10-20 11:06:05 +02:00
Viktor Nagy
738b79bc70
more generic path given
2014-08-12 23:10:05 +02:00
Viktor Nagy
1998ba8d8c
Added recipe to work with Sphinx
2014-05-22 09:36:11 +02:00
José Padilla
1701b95fa8
Small typo fix on FastCGI section
2014-03-20 08:41:31 -04:00
Chris Hasenpflug
97ac529254
Fixed typos in docs
2014-02-07 23:59:24 -06:00
Jannis Leidel
9da8256062
Fixed typo in docs.
2014-01-16 19:04:59 +01:00
Jannis Leidel
6278a17ae4
Happy New Year!
2014-01-16 19:00:40 +01:00
Jannis Leidel
f087cea84d
Added SearchURLValue.
2014-01-16 19:00:29 +01:00
Jannis Leidel
7ddaf158b1
Added 0.3.2 release from 0.3.x.
2014-01-16 17:59:37 +01:00
Jannis Leidel
290a72993c
Added another item to the changelog.
2013-11-26 16:46:40 +01:00
Jannis Leidel
11b1dc2a46
Updated version.
2013-11-26 16:29:00 +01:00
Jannis Leidel
11e2f1d349
Updated changelog.
2013-11-26 16:28:50 +01:00
Jannis Leidel
072f87d495
Minor cleanup.
2013-11-26 15:42:15 +01:00
Jannis Leidel
c941cdaf06
Fixed #46 — Update cookbook with an example for Celery >= 3.1.
2013-11-26 12:57:33 +01:00
Jannis Leidel
52c679e676
Added 0.3.1 hotfix release for issue #37 .
2013-09-20 19:16:21 +02:00
Jannis Leidel
139ad79c92
Moved the changelog into the docs.
2013-09-19 18:56:07 +02:00
Jannis Leidel
50a6a6ad0b
Added iPython extension to make sure the import hook is loaded correctly.
...
Fixes #22 .
2013-09-18 23:24:51 +02:00
Jannis Leidel
924daa385d
Minor fix in cookbook sentence.
2013-09-18 23:23:31 +02:00
Jannis Leidel
9a132e7b67
Move envdir paragraph to the top of the cookbook.
2013-09-18 23:23:18 +02:00
Jannis Leidel
76d68c6e15
Fix showing version number.
2013-09-12 19:22:08 +02:00
Patrick Altman
7412fc2824
Minor grammar fix
2013-09-11 23:05:22 -05:00
Jannis Leidel
7770a69ced
Drop d2to1.
2013-09-09 11:03:00 +02:00
Jannis Leidel
515eb603c7
Slight revamp of the values docs.
2013-09-06 23:24:34 +02:00
Jannis Leidel
dacca7e073
Use ValueError instead of Django's ImproperlyConfigured.
...
This is to prevent hiding the real reason of a configuration failure behind one of Django's import time exceptions.
2013-09-06 22:40:15 +02:00
Jannis Leidel
141e137d9f
Minor style change for docs.
2013-09-03 13:13:20 +02:00
Jannis Leidel
cd2144492c
Minor edits to the docs.
2013-09-03 13:03:59 +02:00
Jannis Leidel
556365bc8f
Minor edits to the values docs.
2013-09-03 12:30:39 +02:00
Jannis Leidel
927c052be5
Changed the default of the Value's environ option to True.
2013-09-03 12:03:34 +02:00
Jannis Leidel
f4cea1e97b
Moved project templates into cookbooks.
2013-07-27 16:49:50 +02:00
Jannis Leidel
b8222d2271
Raise an ImproperlyConfigured exception if value handling doesn't work, thanks @pydanny for the suggestion.
2013-07-27 15:38:30 +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
2fde445890
Fixed typo.
2013-05-15 16:34:06 +02:00
Jannis Leidel
d98ce1aa81
Fixed README example to not confuse beginners. Thanks, @peterbe.
2013-05-15 12:29:25 +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
708fb9ac50
Renamed the pristine decorator to pristinemethod for consistency.
2013-05-15 10:59:02 +02:00
Jannis Leidel
df865840bc
Added a setup method hook for easier startup time code.
2013-05-15 10:57:30 +02:00
Jannis Leidel
6596e191f0
Added pristine decorator to handle callable settings. Fixes #28 .
2013-04-30 17:11:29 +02:00
Jannis Leidel
163aed8520
Normalized name of example settings class to Prod.
2013-04-30 17:07:11 +02:00
Jannis Leidel
ad83d79397
Updated authors and license.
2013-04-11 17:14:40 +02:00
Jannis Leidel
87f2b4723d
Add a fastcgi helper. Fixes #19 .
2013-03-27 16:57:05 +01:00
Jannis Leidel
ea4ba09af2
Mention a work around for Celery. Fixes #11 .
2013-03-27 15:34:33 +01:00
Jannis Leidel
c616caf6d6
Added a changelog and include it both from the docs and from the setup.py.
2012-09-21 20:55:26 +02:00
Jannis Leidel
26bc0d692f
Added a global --configuration option to management commands and show configuration class path when using runserver. Fixes #9 .
2012-09-21 16:34:16 +02:00
Jannis Leidel
df6c2edf59
Minor cosmetic doc changes.
2012-07-21 21:43:18 +02:00
Jannis Leidel
994889bc58
Add a release make target and remove wrgon sphinx configuration file.
2012-07-21 16:21:47 +02:00
Jannis Leidel
aca5cee79a
Extended and fixed the docs a bit.
2012-07-21 16:09:30 +02:00
Jannis Leidel
775e1b9225
Initial version.
2012-07-21 15:56:04 +02:00