You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a custom User model with a field
phone_number = models.CharField( max_length=20)
Traceback (most recent call last):
File "", line 1, in
File "/dev/local/lib/python2.7/site-packages/django_faker/populator.py", line 163, in execute
insertedEntities[klass].append( self.entities[klass].execute(using, insertedEntities) )
File "/dev/local/lib/python2.7/site-packages/django_faker/populator.py", line 104, in execute
value = format(insertedEntities) if hasattr(format,'call') else format
File "/dev/local/lib/python2.7/site-packages/django_faker/guessers.py", line 25, in
if name in ('phone_number','phonenumber','phone'): return lambda x:generator.phoneNumber()
AttributeError: 'Generator' object has no attribute 'phoneNumber'
The text was updated successfully, but these errors were encountered:
I've a custom User model with a field
phone_number = models.CharField( max_length=20)
Traceback (most recent call last):
File "", line 1, in
File "/dev/local/lib/python2.7/site-packages/django_faker/populator.py", line 163, in execute
insertedEntities[klass].append( self.entities[klass].execute(using, insertedEntities) )
File "/dev/local/lib/python2.7/site-packages/django_faker/populator.py", line 104, in execute
value = format(insertedEntities) if hasattr(format,'call') else format
File "/dev/local/lib/python2.7/site-packages/django_faker/guessers.py", line 25, in
if name in ('phone_number','phonenumber','phone'): return lambda x:generator.phoneNumber()
AttributeError: 'Generator' object has no attribute 'phoneNumber'
The text was updated successfully, but these errors were encountered: