From ac5408d7eb93e9468dd3945530bbff556249f1b9 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 1 Sep 2022 20:41:53 +1000 Subject: [PATCH] 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 --- configurations/base.py | 2 +- configurations/values.py | 2 +- docs/patterns.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configurations/base.py b/configurations/base.py index 14185fe..0a8a2b0 100644 --- a/configurations/base.py +++ b/configurations/base.py @@ -100,7 +100,7 @@ class Configuration(metaclass=ConfigurationBase): http://www.wellfireinteractive.com/blog/easier-12-factor-django/ https://gist.github.com/bennylope/2999704 """ - # check if the class has DOTENV set wether with a path or None + # check if the class has DOTENV set whether with a path or None dotenv = getattr(cls, 'DOTENV', None) # if DOTENV is falsy we want to disable it diff --git a/configurations/values.py b/configurations/values.py index 8eb3bbc..1a30794 100644 --- a/configurations/values.py +++ b/configurations/values.py @@ -112,7 +112,7 @@ class Value: """ Convert the given value of a environment variable into an appropriate Python representation of the value. - This should be overriden when subclassing. + This should be overridden when subclassing. """ return value diff --git a/docs/patterns.rst b/docs/patterns.rst index eff644a..2763b35 100644 --- a/docs/patterns.rst +++ b/docs/patterns.rst @@ -3,7 +3,7 @@ Usage patterns There are various configuration patterns that can be implemented with django-configurations. The most common pattern is to have a base class -and various subclasses based on the enviroment they are supposed to be +and various subclasses based on the environment they are supposed to be used in, e.g. in production, staging and development. Server specific settings