Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

no warning

  • Loading branch information...
commit a45e51942d29fa8fb9e0850a36aa4e73b8e61bca 1 parent f81e018
@sorl authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  mockups/helpers.py
View
2  mockups/helpers.py
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import copy
-import warnings
from django.conf import settings
from django.utils.importlib import import_module
from django.utils.module_loading import module_has_submodule
@@ -18,7 +17,6 @@ def get_mockup(model, *args, **kwargs):
'''
if model not in _registry:
from mockups.base import Mockup
- warnings.warn('Model `%s` not in registry' % model.__name__)
cls = Mockup
else:
cls = _registry[model]
Please sign in to comment.
Something went wrong with that request. Please try again.