add a service model

This commit is contained in:
Andreas Zweili 2022-04-01 18:44:42 +02:00
parent 9efde2c5b6
commit c848c46637
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
from django.db import models
class Service(models.Model):
name = models.CharField(max_length=50)
class Meta:
ordering = ["name"]
def __str__(self):
return self.name