Skip to content

sunlightlabs/django-shortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-secretballot

Django shortcut application that allows redirects to be created from the Django admin app.

django-shortcuts is a project of Sunlight Labs (c) 2009. Written by Jeremy Carbaugh jcarbaugh@sunlightfoundation.com

Source: http://github.com/sunlightlabs/django-shortcuts/

Requirements

python >= 2.4

django >= 1.0

Installation

To install run

python setup.py install

which will install the application into the site-packages directory.

Usage

settings.py

To enable django-shortcuts, add shortcuts to INSTALLED_APPS.

By default, all aliases will be served from:

http://[configured_url]/s/[alias]

The s prefix can be changed by setting SHORTCUT_PREFIX in settings.py.

urls.py

Add a reference to shortcut.urls. For example:

url(r'^', include('shortcuts.urls')),

About

Database driven "shortcuts". Basically redirects that can be configured via the admin. Exposes analytics for tracking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages