Last active
January 28, 2020 12:52
-
-
Save uday12kumar/e0eb6fca164fc69b9c689f174af69955 to your computer and use it in GitHub Desktop.
Django concurrency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Slot(models.Model): | |
id = models.AutoField(primary_key=True,) | |
user = models.ForeignKey(User) | |
seats= models.IntegerField(default=10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment