When attempting to use a few management commands together, ala:

from django.core.management.base import NoArgsCommand
from django.core.management.commands import syncdb
from django.core.management.commands import runserver

class Command(NoArgsCommand):

    def handle_noargs(self, **options):

        # syncdb
        syncdb.Command().handle_noargs()

        # runserver
        runserver.Command().handle('8080')

This appears to run twice!

I believe it is the same problem as submitted here:

http://code.djangoproject.com/ticket/8085


Anyone else run into this or have a solution?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to