Did I find the right examples for you? yes no

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

src/d/j/django-couchdb-utils-HEAD/django_couchdb_utils/auth/management/commands/migrate_users.py   django-couchdb-utils(Download)
        data = dict( (k, v) for (k, v) in data.items() if not k.startswith('_') and k != 'user_id')
 
        new_user = User.get_user(data['username']) or User()
 
        for attrib, val in data.items():

src/d/j/django_couchdb_utils-0.5/django_couchdb_utils/auth/tests.py   django_couchdb_utils(Download)
        user.save()
 
        user = User.get_user(data['username'])
        self.assertIsNotNone(user)
        self.assertEqual(user.username, data['username'])