Version initiale de test
This commit is contained in:
11
collection/games/models.py
Normal file
11
collection/games/models.py
Normal file
@ -0,0 +1,11 @@
|
||||
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
|
Reference in New Issue
Block a user