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.
- Python 2.7
- Django 1.4
Other versions may work, but have not been tested.
pip install alto
- Add
'alto'
to yourINSTALLED_APPS
- Add
'alto.middleware.AltoMiddleware'
to yourMIDDLEWARE_CLASSES
- Visit http://127.0.0.1:8000/_alto/
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.
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. |