12 lines
245 B
Python
12 lines
245 B
Python
|
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
|