Skip to content

Commit

Permalink
Fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Oct 1, 2023
1 parent 3d5a762 commit 5f1854a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ widely applied across the system.

#### Custom settings

When creating your own custom settings class, you should inherit from `EdgySettings` which is
When creating your own custom settings class, you should inherit from `MongozSettings` which is
the class responsible for all internal settings of Mongoz and those can be extended and overriden
with ease.

Expand Down
2 changes: 1 addition & 1 deletion mongoz/core/signals/signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def make_id(target: Any) -> Union[int, Tuple[int, int]]:

class Signal:
"""
Base class for all Edgy signals.
Base class for all Mongoz signals.
"""

def __init__(self, **kwargs: Any) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/signals/test_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def pre_saving(sender, instance, **kwargs):
await Log(signal="pre_save", instance=instance.model_dump_json()).create()

user = await User(name="Mongoz").create()
profile = await User(name="Profile Edgy").create()
profile = await User(name="Profile Mongoz").create()

logs = await Log.query().all()
assert len(logs) == 2
Expand Down

0 comments on commit 5f1854a

Please sign in to comment.