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.

Project details


Download files

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

Source Distribution

alto-0.4.tar.gz (498.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page