Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

How do I pass a random seed to fields?Β #215

Open
@dj0nes

Description

@dj0nes

I'm not sure how to seed fields in a factory class (or ideally, the entire class at once).

I tried doing something like the following, which does not work.

class AccountFactory(factory.Factory):
    class Meta(object):
        model = Account

    email = MimesisField('email', seed="randomseed")

Any pointers?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions