Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

ojarva/django-shorturl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

django-shorturl

This is minimal URL shortening service built on Django.

  • Automatic URL generation
  • Usage statistics (view counts)
  • Custom URLs
  • Fixes most commong copy-paste errors (missing protocol scheme, missing "h" from http" etc.)

Installation and requirements

  • Separate domain (/hostname). Configure to shorturl/local_settings.py:SHORTURL_DOMAIN
  • Configure basic authentication (or any basic authentication compatible) to your web server. Alternatively, disable remote user middleware from settings.py (and configure models based authentication)
  • Django >1.4, sqlite or other database
  • Standard Django WSGI deployment, https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/
  • Add "manage.py check_urls" to cron (once per hour or so)
  • Remember to run
./manage.py syncdb
./manage.py collectstatic

About

Simple URL shortening service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published