Dataset Viewer
Auto-converted to Parquet Duplicate
Language
string
Code
string
Query
string
URI
string
Relevance
int64
Notes
string
Python
return self.title
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.headline
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return '<%s: %s> tagged "%s"' % (self.tagged.__class__.__name__, self.tagged, self.name)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return '%s %s' % (self.person.name, ', '.join(p.name for p in self.permissions.all()))
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
authors = ' and '.join(a.name for a in self.authors.all()) return '%s by %s' % (self.name, authors) if authors else self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.key
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self.baz = 'wrong'
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.bar = bar super().__init__()
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.__dict__ = baz.__dict__ self._baz = baz # Grandparent super super(BaseBaz, self).__init__()
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.importer = zipimporter(*args, **kwargs)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.importer = importer
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.headline
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
kwargs['file_permissions_mode'] = 0o640 kwargs['directory_permissions_mode'] = 0o740 super().__init__(*args, **kwargs)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return "Thing %d" % self.num
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.title
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return 'Comment to %s (%s)' % (self.article.title, self.pub_date)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.headline
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
super().__init__(request) self.total_upload = 0
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.title
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.description
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.tag
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.url
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self.user = user super().__init__(*args, **kwargs)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
super().__init__(*args, **kwargs) self.name = name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
super().__init__(*args, **kwargs) self.name = name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.key = key self.name = name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self.graph = graph self.applied_migrations = applied
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.name = name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
class ModelWithConstraints(models.Model): size = models.IntegerField() class Meta: constraints = [models.CheckConstraint(check=models.Q(size__gt=1), name='size_gt_1')] state = ModelState.from_model(ModelWithConstraints) model_constraints = ModelWithConstraints._...
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#test_from_model_constraints
0
Python
return self.title
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
super().__init__() self.args = (a, b, c, d)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.args = args self.kwargs = kwargs
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
raise MiddlewareNotUsed
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
raise MiddlewareNotUsed('spam eggs')
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.get_response = get_response
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.data
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.data
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.data
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.data
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return str(self.pk)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return str(self.pk)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self.get_response = get_response
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self.__dict__.update(kwargs)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.when
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self._import_module = importlib.import_module
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.key
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return '[%s:%s]=%s' % (self.kind, self.name, self.value)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.headline
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return "Profile of %s" % self.author
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.title
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self.title = title
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
raise NotImplementedError("Not so simple")
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
super().__init__(max_length=100)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return '%s (%d) playing for %s' % (self.name, self.rank, self.team.to_string())
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
try: to._meta except AttributeError: to = str(to) kwargs['rel'] = ManyToManyRel( self, to, related_name=related_name, related_query_name=related_query_name, limit_choices_to=limit_choices_to, symmetrical=symmetrical if s...
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.when
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return '%s (%s)' % (self.time, self.desc)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.headline
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return str(self.year)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return "%s at %s" % (self.away, self.home)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
super().__init__(*args, **kwargs) # Protect against annotations being passed to __init__ -- # this'll make the test suite get angry if annotations aren't # treated differently than fields. for k in kwargs: assert k in [f.attname for f in self._meta.fields], \ ...
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return ':'.join((self.__class__.__name__, self.name,))
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return ':'.join((self.__class__.__name__, self.summary,))
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self.store = []
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
self._request = request
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return "%s %s" % (self.make, self.model)
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.user.username
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
return self.name
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__str__
1
Python
self.otherclass = OtherClass()
Use proper whitespace in CREATE INDEX statements Description (last modified by Hannes Ljungberg) Creating an index through: index = Index( fields=['-name’], name='idx' ) Will generate the valid but not so pretty CREATE INDEX statement: CREATE INDEX "idx" ON "schema_author" ("name"DESC) The following would be...
django_58c1acb1d6054dfec29d0f30b1033bae6ef62aec#__init__
1
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
8