Ticket #8084: 8084.patch

File 8084.patch, 429 bytes (added by John Shaffer, 11 years ago)
  • django/utils/http.py

     
    9090    # Construct base36 representation
    9191    while factor >= 0:
    9292        j = 36 ** factor
    93         base36.append(digits[i / j])
     93        base36.append(digits[i // j])
    9494        i = i % j
    9595        factor -= 1
    9696    return ''.join(base36)
Back to Top