aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorTeddy Wing2015-09-28 15:23:29 -0400
committerTeddy Wing2015-09-28 15:23:29 -0400
commit02abc1c92a12b97cb21a20e82ff20d59c6fca562 (patch)
treee380ecc28e38b6058391b72ca5ee6bd86cf29b6d /setup.py
parent71caf877ebdfc51aafae48ff25b6d4da2d072c3d (diff)
downloaddjango-shorturls-02abc1c92a12b97cb21a20e82ff20d59c6fca562.tar.bz2
Create `ShortURLConverter` classextract-shortener-to-class
Extract URL shortening functionality into a new class. This moves the work outside of the `ShortURL` template tag class and into a new `ShortURLConverter` class. This allows us to ask for short URLs outside the context of the template tag. It now becomes possible to find the short URL of an object in other places, like an API.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions