-
Notifications
You must be signed in to change notification settings - Fork 0
A Django short url generator
bryanpieper/purl
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A simple Python Django short url generator. Create urls from the Django admin app.
This app will generate over 450,000 unique urls using an alias length of 4 characters.
Allows you to attach Google Analytics campaign data to each shortened url.
./settings.py:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'purl',
)
./urls.py:
from django.conf.urls.defaults import *
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^r/', include('purl.urls')),
(r'^admin/(.*)', admin.site.root),
)
About
A Django short url generator
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published