Skip to content

Commit

Permalink
Fixed a typo in an utility function name.
Browse files Browse the repository at this point in the history
  • Loading branch information
charettes committed Dec 21, 2015
1 parent d61cf03 commit 21b21dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tenancy/utils.py
Expand Up @@ -46,7 +46,7 @@ def remove_from_app_cache(model_class, quiet=False):
return model_class


def get_foward_fields(opts):
def get_forward_fields(opts):
return chain(
opts.fields,
opts.many_to_many
Expand All @@ -55,7 +55,7 @@ def get_foward_fields(opts):

def unreference_model(model):
disconnect_signals(model)
for field in get_foward_fields(model._meta):
for field in get_forward_fields(model._meta):
remote_field = get_remote_field(field)
if field.model is model and remote_field:
remote_field_model = get_remote_field_model(field)
Expand Down

0 comments on commit 21b21dc

Please sign in to comment.