Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/d/e/deme-HEAD/deme_django/modules/demeaccount/views.py   deme(Download)
        except ObjectDoesNotExist:
            # We need a fake salt so it looks like the account could exist
            salt = DemeAccount.get_hexdigest('sha1', username, settings.SECRET_KEY)[:5]
            response_data = {'nonce':nonce, 'algo':'sha1', 'salt':salt}
        json_data = simplejson.dumps(response_data, separators=(',',':'))