Hi! I want to use django-faker for my project, but I got this error
Traceback (most recent call last):
File "/home/edwinlunando/Projects/pikavia/pikavia/core/test_views.py", line 18, in setUp
populator.execute()
File "/home/edwinlunando/.virtualenvs/pikavia3/lib/python3.4/site-packages/django_faker/populator.py", line 155, in execute
using = self.getConnection()
File "/home/edwinlunando/.virtualenvs/pikavia3/lib/python3.4/site-packages/django_faker/populator.py", line 176, in geistConnection
klass = klass[0]
TypeError: 'dict_keys' object does not support indexing
I think the issue is quite simple. In Python 3, dict_keys return a set, not a list.
Hi! I want to use django-faker for my project, but I got this error
I think the issue is quite simple. In Python 3, dict_keys return a set, not a list.