automated push from the terminal
This commit is contained in:
15
tournament/models.py
Normal file
15
tournament/models.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from django.db import models
|
||||
|
||||
class Tournament(models.Model):
|
||||
|
||||
name = models.CharField("name", max_length=240)
|
||||
|
||||
description = models.CharField("description", max_length=240)
|
||||
|
||||
rental_price = models.FloatField("rental_price", default=999.99)
|
||||
|
||||
rented_user_id = models.IntegerField("rented_user_id")
|
||||
|
||||
def __str__(self):
|
||||
|
||||
return self.name
|
||||
Reference in New Issue
Block a user