def _syncdb():
    print "syncdb"
    sync = Command()
    sync.handle()
    print "done syncdb"    
Esempio n. 2
0
def _syncdb():
    sync = Command()
    sync.handle()
        
def _syncdb():
    sync = Command()
    sync.handle()
        
Esempio n. 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()