django/tests/xor_lookups/models.py

9 lines
144 B
Python

from django.db import models
class Number(models.Model):
num = models.IntegerField()
def __str__(self):
return str(self.num)