initial commit. displays simple hierarchy and lists of models. includes fixtures for initial data.
This commit is contained in:
7
venues/models.py
Normal file
7
venues/models.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.db import models
|
||||
|
||||
class Venue(models.Model):
|
||||
name = models.CharField(max_length = 50)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.name}"
|
||||
Reference in New Issue
Block a user