Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed Syncdb and temp server bugs

  • Loading branch information...
commit 64f820107b8a809c5135c796a088a8eb008cd72d 1 parent d32cebc
David Miller davidmiller authored

Showing 2 changed files with 8 additions and 7 deletions. Show diff stats Hide diff stats

  1. +5 4 pony-mode.el
  2. +3 3 pony.org
9 pony-mode.el
@@ -260,6 +260,7 @@ Be aware of 'clean', buildout, and virtualenv situations"
260 260 (let ((process-buffer (concat "*" proc-name "*")))
261 261 (progn
262 262 (start-process proc-name process-buffer
  263 + (pony-active-python)
263 264 (pony-manage-cmd)
264 265 command args)
265 266 (pop-to-buffer (get-buffer process-buffer))))
@@ -567,8 +568,8 @@ server instance either on a nonstandard (or second) port, or that will be access
567 568 to the outside world for some reason. Meanwhile, i don't want to set my default host to 0.0.0.0
568 569 This function allows you to run a server with a 'throwaway' host:port"
569 570 (interactive)
570   - (let ((args (list "runservers" (read-from-minibuffer "host:port "))))
571   - (pony-comint-pop "ponytempserver" (pony-manage-cmd)
  571 + (let ((args (list "runserver" (read-from-minibuffer "host:port "))))
  572 + (pony-manage-pop "ponytempserver" (pony-manage-cmd)
572 573 args)))
573 574
574 575 ;; View server
@@ -611,7 +612,7 @@ This function allows you to run a server with a 'throwaway' host:port"
611 612 "Run Syncdb on the current project"
612 613 (interactive)
613 614 (start-process "ponymigrations" "*ponymigrations*"
614   - (pony-manage-cmd) "syncdb")
  615 + (pony-active-python) (pony-manage-cmd) "syncdb")
615 616 (pony-pop "*ponymigrations*"))
616 617
617 618 ;; (defun pony-south-get-migrations()
@@ -634,7 +635,7 @@ This function allows you to run a server with a 'throwaway' host:port"
634 635 (if (pony-command-exists "schemamigration")
635 636 (progn
636 637 (start-process "ponymigrations" "*ponymigrations*"
637   - (pony-manage-cmd)
  638 + (pony-active-python) (pony-manage-cmd)
638 639 "schemamigration" app "--auto")
639 640 (pony-pop "*ponymigrations*"))
640 641 (message "South doesn't seem to be installed"))))
6 pony.org
Source Rendered
@@ -63,10 +63,10 @@
63 63 ** DONE Pony-fabric fails unpleasantly with projects that have no Fabfile
64 64 ** DONE Pony-list-commands seems broken in emacs -q -- requires further investigation
65 65 ** DONE Pony-dumpdata requires port to the new API
66   -** TODO Pony-temp-server Possibly never worked - surely a typo?
  66 +** DONE Pony-temp-server Possibly never worked - surely a typo?
67 67 ** DONE Pony-browser shouldn't be a blocking wait.
68   -** TODO Syncdb needs new calling conventions
69   -** TODO Command if exists as a wrapper
  68 +** DONE Syncdb needs new calling conventions
  69 +** DONE Command if exists as a wrapper
70 70 * Roadmap
71 71 ** 0.2 Release
72 72 *** Blockers

0 comments on commit 64f8201

Please sign in to comment.
Something went wrong with that request. Please try again.