mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-27 19:55:18 +02:00
12 lines
197 B
Python
12 lines
197 B
Python
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
|