Ticket #8084: 8084.patch
File 8084.patch, 429 bytes (added by , 16 years ago) |
---|
-
django/utils/http.py
90 90 # Construct base36 representation 91 91 while factor >= 0: 92 92 j = 36 ** factor 93 base36.append(digits[i / j])93 base36.append(digits[i // j]) 94 94 i = i % j 95 95 factor -= 1 96 96 return ''.join(base36)