Skip to main content

A high-level code browser for Django projects.

Project description

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. Add url(r'^_alto/', include('alto.urls')) to your urlaptterns
  3. Visit http://127.0.0.1:8000/_alto/
  4. Add ALTO_URL_SCHEME = 'txmt' to your settings for TextMate support. The default is 'mvim'.

This will expose the source code of your site, so be sure to take proper precautions like only enabling the url pattern 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.

Project details


Release history Release notifications

History Node

0.4

History Node

0.3.1

History Node

0.3.0

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1.1

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
alto-0.1.tar.gz (493.4 kB) Copy SHA256 hash SHA256 Source None Jul 16, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page