Permalink
Browse files

no warning

  • Loading branch information...
1 parent f81e018 commit a45e51942d29fa8fb9e0850a36aa4e73b8e61bca @sorl sorl committed May 10, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 mockups/helpers.py
View
@@ -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]

0 comments on commit a45e519

Please sign in to comment.