Open pete-kelly opened 8 years ago
Have trouble on the execute step. New to django_faker. Here's what I did and the error I got:
from django_faker import Faker populator = Faker.getPopulator() from myapp.models import App populator.addEntity(App,1) insertedPks = populator.execute() Traceback (most recent call last): . . . File "/path-to-environment/lib/python2.7/site-packages/django_faker/populator.py", line 31, in if isinstance(field, DateTimeField): return lambda x: generator.dateTime() AttributeError: 'Generator' object has no attribute 'dateTime'
Have trouble on the execute step. New to django_faker. Here's what I did and the error I got: