hi all
did anyone used django-autofixture , i followed the instructions on
this link :
http://pypi.python.org/pypi/django-autofixture/0.2.2
i installed django-autofixture
added the 'autofixture' to my INSTALLED_APPS
for example my app name is company , my model name is product
i use this command :
django-admin.py loadtestdata company.product:3
it is failing for all models with the same error:
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/
__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/dist-packages/django/core/management/
__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/
base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/dist-packages/django/core/management/
base.py", line 218, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.6/dist-packages/django/db/
transaction.py", line 299, in _commit_on_success
res = func(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/autofixture/management/
commands/loadtestdata.py", line 192, in handle
autofixture.autodiscover()
File "/usr/local/lib/python2.6/dist-packages/autofixture/
__init__.py", line 168, in autodiscover
import_module("%s.tests" % app)
File "/usr/local/lib/python2.6/dist-packages/django/utils/
importlib.py", line 35, in import_module
__import__(name)
File "/usr/local/lib/python2.6/dist-packages/django_extensions/tests/
__init__.py", line 3, in <module>
from django_extensions.tests.encrypted_fields import
EncryptedFieldsTestCase
File "/usr/local/lib/python2.6/dist-packages/django_extensions/tests/
encrypted_fields.py", line 2, in <module>
from keyczar import keyczar
ImportError: No module named keyczar
anyone faced the same issue
any help ???
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.