Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/w/e/wefree-HEAD/web/wefree/wefree/core/views.py   wefree(Download)
    ap, created = AP.objects.get_or_create(bssid=data["bssid"], essid=data["essid"])
 
    Report.objects.get_or_create(ap=ap, password=data["password"], success=data["success"], geo_lat=data["lat"], geo_long=data["long"])
 
    return HttpResponse("")

src/d/j/django-timereports-HEAD/timereports/base.py   django-timereports(Download)
    def get_db_object(self):
        return models.Report.objects.get_or_create(
            slug = self.slug, defaults = {
                'slug': self.slug,
                'name': self.name,

src/o/p/opps-ganalytics-0.1.3/opps/ganalytics/tasks.py   opps-ganalytics(Download)
            try:
                # print row
                report, create = Report.objects.get_or_create(url=row[0][1][:255])
                # print report
                if report: