Skip to content

Instantly share code, notes, and snippets.

@Kos
Created April 24, 2021 18:20
Show Gist options
  • Save Kos/8d5aee2127396e9190d93198fe8a0fa7 to your computer and use it in GitHub Desktop.
Save Kos/8d5aee2127396e9190d93198fe8a0fa7 to your computer and use it in GitHub Desktop.
class Book(models.Model):
isbn = models.CharField(max_length=13)
title = models.TextField()
author = models.TextField()
visible = models.BooleanField(default=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment