<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _create_users(self):
 """ Creates users. """

        rn = RandomNicknames()

        for name in rn.random_nicks(count=50):
            username = '%s%d' % (slugify(name), random.randrange(1, 99))
            user = User.objects.create_user(
                username=username,
                email='%s@example.com' % username,
                password='secret')
            logger.info('Created user: %s', user.username)