diff --git a/rest_framework/utils/model_meta.py b/rest_framework/utils/model_meta.py index e885be52e..19f751b04 100644 --- a/rest_framework/utils/model_meta.py +++ b/rest_framework/utils/model_meta.py @@ -173,4 +173,4 @@ def is_abstract_model(model): """ Given a model class, returns a boolean True if it is abstract and False if it is not. """ - return hasattr(model, 'Meta') and hasattr(model._meta, 'abstract') and model._meta.abstract + return hasattr(model, '_meta') and hasattr(model._meta, 'abstract') and model._meta.abstract