Beispiel #1
0
    def handle(self, *args, **options):
        institution = Institution(title="Stanford",
                                  country="USA",
                                  city="Palo Alto",
                                  domains="stanford.edu")

        institution.save()
        print "Institution created successfully"
Beispiel #2
0
    def handle(self, *args, **options):
        institution = Institution(title="ThoughtWorks",
                                  country="China",
                                  city="Xi'an",
                                  domains="thoughtworks.com")

        institution.save()
        print "Institution created successfully"
 def handle(self, *args, **options):
     institution = Institution(
                               title = "ThoughtWorks",
                               country = "China",
                               city = "Xi'an",
                               domains = "thoughtworks.com")
                               
     institution.save()
     print "Institution created successfully"
 def handle(self, *args, **options):
     institution = Institution(
                               title = "Stanford",
                               country = "USA",
                               city = "Palo Alto",
                               domains = "stanford.edu")
                               
     institution.save()
     print "Institution created successfully"