def _syncdb():
    print "syncdb"
    sync = Command()
    sync.handle()
    print "done syncdb"    
Example #2
0
def _syncdb():
    sync = Command()
    sync.handle()
        
def _syncdb():
    sync = Command()
    sync.handle()
        
Example #4
0
 def testSetUp(self):
     from django.db import connection
     from django.core.management.commands.syncdb import Command as SyncDB
     syncdb = SyncDB()
     syncdb.handle()
     connection.cursor()