django-constance/example/cheeseshop/apps/storage/models.py

16 lines
289 B
Python
Raw Normal View History

2010-12-02 09:49:29 +00:00
from django.db import models
2010-12-02 09:49:29 +00:00
class Shelf(models.Model):
name = models.CharField(max_length=75)
class Meta:
2025-10-07 09:25:07 +00:00
verbose_name_plural = "shelves"
2010-12-02 09:49:29 +00:00
2010-12-02 09:49:29 +00:00
class Supply(models.Model):
name = models.CharField(max_length=75)
class Meta:
2025-10-07 09:25:07 +00:00
verbose_name_plural = "supplies"