• Stars
    star
    149
  • Rank 248,619 (Top 5 %)
  • Language
    Emacs Lisp
  • License
    Other
  • Created almost 14 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Django mode for emacs

Pony Mode -a Django mode for emacs

A Django mode for emacs.

Features (Non-exhaustive):

  • Run dev server in an emacs buffer [C-c C-p r] * Checks to see if runserver_plus is available * If not uses in-built runserver
  • Jump to current project in browser (start server if required) [C-c C-p b]
  • Run test case at point in buffer [C-c C-p t]
  • Run tests for current app in buffer [C-c C-p t]
  • Run Syncdb on current project
  • Run Celeryd [C-c C-p c]
  • Management commands for current project in interactive buffer
  • South integration - run south convert, schemamigration, migrate
  • Run django shell in buffer [C-c C-p s] * Checks for shell_plus * If not defaults to shell
  • Fabric integration [C-c C-p f]
  • Startapp and dumpdata on current project within emacs
  • Database integration with Emacs sql-mode interactive buffer [C-c C-c d
  • Django Template minor mode with syntax highlighting for django template tags
  • Snippet collection for django
  • generate tags table for project
  • run manage commands in interactive buffer
  • Buildout integration
  • Generate TAGS table for project to enable quick navigation
  • Jump to template at point or from editing view [C-c C-p g t]
  • Virtualenv integration

Documentation

The full documentation is available at http://www.deadpansincerity.com/docs/pony/

Installation

  1. clone this repo somewhere $ git clone https://github.com/davidmiller/pony-mode

  2. (optional) Byte-compile the files:

    M-x byte-compile-file (path/to/pony-mode/src/*.el)
    
  3. Add the path to your load-path:

    (add-to-list 'load-path "path/to/pony-mode/src")
    
  4. Add to your .emacs:

    (require 'pony-mode)
    
  5. Enjoy

Bugs

Please report any bugs on the github issue tracker

Configuration

Configuration options per project are available via .dir-locals.el

The file should look something like this:

;; Pony mode config for the megacorp project
((nil . ;; This applies these settings regardless of major mode

  ((pony-settings (make-pony-project
                   :python "/home/david/virtualenvs/megacorp/production/bin/python"
                   :pythonpath "/home/david/megacorp/libs/projectzero"
                   :settings "local_settings_file"
                   :appsdir "testproject/apps/")
))))

Help

Turns out that there is a mailing list at https://groups.google.com/group/pony-mode .

Low frequency, high helpfulness. Feel free to stop by for helps & chats...

Licence

Totally GPL

Roadmap

Check the org-mode file pony.org for current todo/wish list

(If you can stand the org-to-github-markdown transition: https://github.com/davidmiller/pony-mode/blob/master/pony.org )hs

More Repositories

1

dizzee

Emacs Library for managing subprocesses
Emacs Lisp
82
star
2

yasnips

Bundle of yasnippett snips for Pytho, Django, Javascript and Php
Shell
11
star
3

rpc

Rpc for python
Python
6
star
4

fabmacs

Fabric Integration for Emacs
Emacs Lisp
4
star
5

huisclos

3
star
6

letter

Python email library
Python
3
star
7

thriftbench

Benchmarking Python Thrift Servers
Python
3
star
8

mydotfiles

Syncing my .dotfiles
Shell
3
star
9

repertoire

HTML
3
star
10

doublefork

Unix Daemons for Python
Python
2
star
11

cat

Python
2
star
12

ffs

Python Filesystem Api helpers
Python
2
star
13

zoop

Pythonic Zookeeper API
Python
2
star
14

gitcomply

Check for updated uncommitted files on production webserver during workflow transition
Python
2
star
15

emodes

Set mode styles for emacs major modes
Emacs Lisp
2
star
16

opal-bootstrap4-experiment

Python
1
star
17

dotfiles

sync dotfiles across machines
Python
1
star
18

globin

Python
1
star
19

pypres

Presentation tool for Python presentations
Python
1
star
20

sinceresinatra

Sinatra version of homepages
JavaScript
1
star
21

Deadpansincerity-Code-Samples

Python
1
star
22

sincere-sphinx

Sphinx theme based on homepage
1
star
23

apps.expanded.user

Greasemonkey script to tweak google for Apps accounts
JavaScript
1
star
24

fluidsurveys

Fluid Surveys API client
Python
1
star
25

emacs

Emacs lisp dir
Emacs Lisp
1
star
26

philoseliza

Clojure based port of Eliza
Clojure
1
star
27

opal-data-analysis

R
1
star
28

nest

Virtualenving
Python
1
star
29

pywebsocks

Websocket Server in Python for Twisted
Python
1
star
30

gitmod

Auto commit any files in the current repository who have simply been chmodded
Perl
1
star
31

repo

commandline github api & generic vcs abstractor
Ruby
1
star
32

thrift-mode

Major mode for editing Thrift definitions
Emacs Lisp
1
star
33

vhosts

Manage local apache instance vhosts from commandline
Python
1
star
34

come-fly

Sinatra minor mode
Emacs Lisp
1
star