Пример #1
0
    class TypeOPerson(Person):
        class Meta:
            app_label = 'newapp'

        hobby = models.Property()
Пример #2
0
 class BlogNode(models.NodeModel):
     title = models.Property()
     date_modified = models.DateTimeProperty(auto_now=True)
Пример #3
0
 class BlegNode(models.NodeModel):
     title = models.Property()
     date_made = models.DateProperty(auto_now_add=True)
Пример #4
0
 class BlagNode(models.NodeModel):
     title = models.Property()
     date_changed = models.DateProperty(auto_now=True)
Пример #5
0
 class BloggNode(models.NodeModel):
     title = models.Property()
     date_created = models.DateTimeProperty(auto_now_add=True)
Пример #6
0
 class Person(models.NodeModel):
     name = models.Property()
     age = models.IntegerProperty(indexed=True)