skip to navigation
skip to content

Not Logged In

alto 0.2.3

A high-level code browser for Django projects.

Latest Version: 0.4

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

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

Possibly planned features are for Alto to become a Light Table plugin.

Alto is PRE-ALPHA software. It probably won't work with your project. There is no support. 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. Make sure TEMPLATE_LOADERS includes 'django.template.loaders.app_directories.Loader'.
  3. Make sure STATICFILES_FINDERS includes 'django.contrib.staticfiles.finders.AppDirectoriesFinder'.
  4. Add url(r'^_alto/', include('alto.urls')) to your urlaptterns
  5. Visit http://127.0.0.1:8000/_alto/

Optional: Add ALTO_URL_SCHEME = 'txmt' to your settings for TextMate support. The default is 'mvim'.

Warning

alto will expose your source code through the browser, so make sure to secure its views. One way to handle this is to only add its urlpatterns if DEBUG=True.

Thanks

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

[*]As long as your favorite editor is MacVim or TextMate. In theory, any editor that can be made to open a file from a custom url scheme will work.
 
File Type Py Version Uploaded on Size
alto-0.2.3.tar.gz (md5) Source 2012-08-08 484KB
  • Downloads (All Versions):
  • 77 downloads in the last day
  • 444 downloads in the last week
  • 1644 downloads in the last month