1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-06 21:34:01 +02:00

Store RPM in vinyles

This commit is contained in:
Yohann D'ANELLO
2020-05-23 14:23:39 +02:00
parent 02b81016b8
commit e2d4a80dba
2 changed files with 15 additions and 0 deletions

View File

@ -218,6 +218,14 @@ class Vinyle(models.Model):
max_length=255,
)
rpm = models.PositiveIntegerField(
verbose_name=_('rounds per minute'),
choices=[
(33, _('33 RPM')),
(45, _('45 RPM')),
],
)
authors = models.ManyToManyField(
'Auteur',
verbose_name=_('authors'),