I will ask a question easier.
experimentally I found such worked providers of factoryboy:
factory.Faker('name', locale='en') - generate random name
factory.Faker('first_name', locale='en') - generate random first_name
factory.Faker('last_name', locale='en') - generate random last_name
factory.Faker('url', locale='en') - generate random URL
factory.Faker('slug', locale='en') - generate random slug
factory.Faker('date', locale='en') - generate random date
factory.Faker('time', locale='en') - generate random time
factory.Faker('text', locale='en') - generate random text
But not working factory.Faker('datetime', locale='en')
and factory.Faker('color', locale='en')
In factoryboy’і docs silent about integrated formaters, and it was the
reason to ask a question.
суббота, 30 апреля 2016 г., 11:40:12 UTC+3 пользователь Gergely Polonkai
написал:
>
> Looking at FactoryBoy’s documentation, it doesn’t seem you can use these;
> for example, slug is never mentioned in the documentation. What exactly do
> you want to achieve? Are you sure it’s FactoryBoy you are looking for?
>
>
>
> Gergely Polonkai
> [image: https://]about.me/gergely.polonkai
>
> <https://about.me/gergely.polonkai?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>
>
> 2016-04-30 10:11 GMT+02:00 Seti Volkylany <[email protected]
> <javascript:>>:
>
>>
>> I mean the factory.Faker('*name*', locale='en'), and
>>
>> I found slug, name, first_name, last_name, time, date, url, but I am
>> don`t found all list in Web and factoryboy`s documentation.
>>
>> May anyone known?
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/787d683b-cb31-432e-ac34-a480d5d4fda2%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/django-users/787d683b-cb31-432e-ac34-a480d5d4fda2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/cf0a5eab-e93d-43c2-92e4-f6361cd964e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.