mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-06-28 12:11:08 +02:00
11 lines
193 B
Python
11 lines
193 B
Python
|
from django.db import models
|
||
|
|
||
|
class Category(models.Model):
|
||
|
name = models.CharField(max_length=50)
|
||
|
|
||
|
class Meta:
|
||
|
abstract = True
|
||
|
|
||
|
def __str__(self):
|
||
|
return self.name
|