openbackloggery/collection/games/models.py

12 lines
245 B
Python
Raw Normal View History

2017-08-16 20:00:41 +00:00
from django.db import models
class Console(models.Model):
"""
All console, system or box that can be used to play video games.
"""
name = models.CharField(max_length=254)
def __str__(self):
return '%s' % self.name