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.

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.1.1.tar.gz (493.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page