skip to navigation
skip to content

Not Logged In

django-url-shortener 0.2

Simple django app for URL shortening


Version 0.2

Simple django app for URL shortening with logging to piwik.


Create clean virtualenv and this command will install complete shortener with django and requests libraries:

    pip install django-url-shortener

I also recommend South for database migrations.

    pip install South

Add apps to to Installed apps


For piwik tracking, note that for correct tracking you need a token of admin for the site:

    PIWIK_ID = 42
    PIWIK_URL = ''

Then run

    python syncdb
    python migrate

To track visits run this from command line. For your convenience put this command to cron.

    python track_views

What is Piwik?

Piwik is open-soure alternative to Google Analytics. It is written in PHP uses MySQL and you own all the data you create over the time. If you like it give it a [try]( "").

Sites using this:

* []( "")
* []( "")
File Type Py Version Uploaded on Size
django-url-shortener-0.2.tar.gz (md5) Source 2014-01-19 25KB
  • Downloads (All Versions):
  • 16 downloads in the last day
  • 118 downloads in the last week
  • 403 downloads in the last month