diff options
| author | Ben Firshman | 2014-09-22 02:18:09 +0200 |
|---|---|---|
| committer | Ben Firshman | 2014-09-22 02:18:09 +0200 |
| commit | 47dcc785c2d6bcbbcf0cbaabdd5d8c825bc97e9c (patch) | |
| tree | f184d0ff8da4d2644ae4faed3bddcb9e5790b596 /README.md | |
| parent | 967f4ddab7bb68bc1cbd10a30658c65fd67c9acb (diff) | |
| parent | ab5312e7c035e76521140382b47113bcf50acbcf (diff) | |
| download | django-shorturls-47dcc785c2d6bcbbcf0cbaabdd5d8c825bc97e9c.tar.bz2 | |
Merge pull request #8 from bfirsh/crockford-base32
Add Crockford's base32 and performance improvements
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -87,3 +87,16 @@ differ. If not defined, the redirect view will try to guess the proper domain by consulting the ``django.contrib.sites`` framework, if installed, or the requested domain, if not. + +#### ``SHORTURLS_DEFAULT_CONVERTER`` + +The converter that is used to translate between short URLs and model IDs. +Defaults to the built in base 62 conversion. + +Available converters: + + - `shorturls.baseconv.base62` Base 62 encoding. + - `shorturls.baseconv.base32` [Douglas Crockford's base 32.](http://www.crockford.com/wrmg/base32.html) + - `shorturls.baseconv.hexconv` Hex encoding. + - `shorturls.baseconv.bin` Binary encoding, because why not. + |
