Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

no need for get_autofixture to be in module scope

  • Loading branch information...
commit 712305e2a43309394821a5cc28e6d3570bf2046e 1 parent 79a85ab
Mikko Hellsing authored
Showing with 4 additions and 3 deletions.
  1. +2 −1  autofixture/base.py
  2. +2 −2 autofixture/helpers.py
View
3  autofixture/base.py
@@ -3,7 +3,8 @@
from django.db.models import fields
from django.db.models.fields import related
from django.utils.datastructures import SortedDict
-from autofixture import constraints, generators, signals, get_autofixture
+from autofixture import constraints, generators, signals
+from autofixture.helpers import get_autofixture
class CreateInstanceError(Exception):
View
4 autofixture/helpers.py
@@ -6,8 +6,8 @@
from django.utils.module_loading import module_has_submodule
-__all__ = ('get_autofixture', 'register', 'unregister', 'create',
- 'create_one', 'autodiscover')
+__all__ = ('register', 'unregister', 'create', 'create_one', 'autodiscover')
+
_registry = {}
Please sign in to comment.
Something went wrong with that request. Please try again.