Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Alto is a Django app that allows you to browse the urlpatterns, views, and templates for your project, see the their source code, and open that code in your favorite editor.
JavaScript Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
alto
docs
testproj
.gitignore
CHANGES.rst
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

Alto

This Django app allows you to browse the urlpatterns, views, and templates for your project, see their source code, and open that code in your favorite editor [*].

Planned features include the ability to browse and search for models, template tags, filters, and celery tasks.

At some point, Alto may become a Light Table plugin.

Alto is ALPHA software. It may or may not work with your project. Bug reports without patches are unlikely to be fixed for now, so unless you're ready to work on it, you should hold off for a few releases.

Requirements

  • Python 2.7
  • Django 1.4

Other versions may work, but have not been tested.

Installation

pip install alto

Setup

  1. Add 'alto' to your INSTALLED_APPS
  2. Add 'alto.middleware.AltoMiddleware' to your MIDDLEWARE_CLASSES
  3. Visit http://127.0.0.1:8000/_alto/
https://s3.amazonaws.com/jkocherhans/alto/templates.png

Configuration

Set ALTO_URL_SCHEME in your Django settings. The default is 'mvim' for opening files in MacVim. 'txmt' will work for TextMate, and if you install SublHandler, 'subl' will open Sublime Text 2.

Thanks

Alto is inspired by Bret Victor's talk, "Inventing on Principle" and by Light Table.

[*] As long as your favorite editor is MacVim, TextMate or Sublime Text 2. In theory, any editor that can be made to open a file from a custom url scheme will work.
Something went wrong with that request. Please try again.