Skip to main content

A high-level code browser for Django projects.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for alto, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size alto-0.4.tar.gz (498.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page