Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
devkral committed Jan 13, 2025
1 parent b0c95e8 commit 8ff29f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edgy/core/db/models/metaclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ def __new__(
meta.model = new_class
# Now find a registry and add it to the meta. This isn't affected by skip_registry.
# Use Meta: registry = False for disabling the search.
# The registry will be updated by add_to_registry.
if meta.registry is None:
registry: Union[Registry, None, Literal[False]] = get_model_registry(bases, meta_class)
meta.registry = registry or None
Expand Down

0 comments on commit 8ff29f6

Please sign in to comment.