Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/j/django-fixtureless-1.2.0/fixtureless/generator.py   django-fixtureless(Download)
    def _generate_emailfield(self, instance, field):
        val_len = random.randint(1, int(field.max_length/2 - 5))
        val = self._iter_for_choice(
            val_len, constants.EMAIL_CHARSET)
        val += '@'
        val = self._iter_for_choice(
            val_len, constants.EMAIL_CHARSET, val)
        val += '.'
        val = self._iter_for_choice(
            3, constants.EMAIL_CHARSET, val)

src/d/j/django-fixtureless-HEAD/fixtureless/generator.py   django-fixtureless(Download)
    def _generate_emailfield(self, instance, field):
        val_len = random.randint(1, int(field.max_length/2 - 5))
        val = self._iter_for_choice(
            val_len, constants.EMAIL_CHARSET)
        val += '@'
        val = self._iter_for_choice(
            val_len, constants.EMAIL_CHARSET, val)
        val += '.'
        val = self._iter_for_choice(
            3, constants.EMAIL_CHARSET, val)