Skip to content

Commit

Permalink
Merge pull request #342 from timgates42/bugfix_typos
Browse files Browse the repository at this point in the history
docs: Fix a few typos
  • Loading branch information
camilonova authored Sep 22, 2022
2 parents 7520ae4 + ac5408d commit 17ca033
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configurations/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def load_dotenv(cls):
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
Expand Down
2 changes: 1 addition & 1 deletion configurations/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def to_python(self, 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

Expand Down
2 changes: 1 addition & 1 deletion docs/patterns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17ca033

Please sign in to comment.