Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs link #678

Merged
merged 2 commits into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3.x-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ settings = Dynaconf(**options)

and then in your program you do `from project.config import settings` instead of `from dynaconf import settings`.

The `**options` are any of the [dynaconf config options](https://dynaconf.readthedocs.io/en/latest/guides/configuration.html)
The `**options` are any of the [dynaconf config options](https://www.dynaconf.com/configuration/)

ex:

Expand Down
4 changes: 2 additions & 2 deletions docs/django.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can manually append at the bottom of your django project's `settings.py` the

```python
# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html
# Read more at https://www.dynaconf.com/django/
import dynaconf # noqa
settings = dynaconf.DjangoDynaconf(__name__) # noqa
# HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)
Expand Down Expand Up @@ -89,7 +89,7 @@ DATABASES = {
!!! warning
Notice that casing is important for Django settings, so `DYNACONF_DATABASES__default__ENGINE` is not the same as `DYNACONF_DATABASES__DEFAULT__ENGINE` you must use the first which matched the proper django settings.

Read more on [environment variables](https://dynaconf.readthedocs.io/en/latest/guides/environment_variables.html#nested-keys-in-dictionaries-via-environment-variables)
Read more on [environment variables](https://www.dynaconf.com/merging/#nested-keys-in-dictionaries-via-environment-variables)

## Settings files

Expand Down
2 changes: 1 addition & 1 deletion dynaconf/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

DJANGO_PATCH = """
# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html
# Read more at https://www.dynaconf.com/django/
import dynaconf # noqa
settings = dynaconf.DjangoDynaconf(__name__) # noqa
# HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)
Expand Down
2 changes: 1 addition & 1 deletion dynaconf/contrib/django_dynaconf_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
In the `django_project/settings.py` put at the very botton of the file:

# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html
# Read more at https://www.dynaconf.com/django/
import dynaconf # noqa
settings = dynaconf.DjangoDynaconf(__name__) # noqa
# HERE ENDS DYNACONF EXTENSION LOAD (No more code below this line)
Expand Down
2 changes: 1 addition & 1 deletion example/django_example/foo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
sys.path.append(".")

# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html
# Read more at https://www.dynaconf.com/django/
import dynaconf # noqa

settings = dynaconf.DjangoDynaconf(
Expand Down
2 changes: 1 addition & 1 deletion example/django_example_compat/foo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
STATIC_URL = "/etc/foo"

# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html
# Read more at https://www.dynaconf.com/django/
import dynaconf # noqa

settings_location = os.path.join(
Expand Down
2 changes: 1 addition & 1 deletion example/issues/449_django_lazy_path/foo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
# Read more at https://dynaconf.readthedocs.io/en/latest/guides/django.html
# Read more at https://www.dynaconf.com/django/
import dynaconf # noqa

settings = dynaconf.DjangoDynaconf(
Expand Down
2 changes: 1 addition & 1 deletion example/overriding/user_settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Alternative 1
# This works
# https://dynaconf.readthedocs.io/en/latest/guides/environment_variables.html#merging-new-data-to-existing-variables
# https://www.dynaconf.com/merging/#merging-existing-data-structures

REST_FRAMEWORK__DEFAULT_AUTHENTICATION_CLASSES = [
"rest_framework.authentication.SessionAuthentication",
Expand Down