Guest User

Untitled

a guest
Aug 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. class MyModel(models.Model):
  2. id = models.AutoField(primary_key=True)
  3. field1 = models.CharField(max_length=200, unique=True) # Might contain greek letters
  4. field2 = models.CharField(max_length=200, unique=True)
Add Comment
Please, Sign In to add comment