mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-03 15:34:00 +00:00
Migrations got a bit borked so doing this commit to stage the migrations in live as I don't want to have a massive, potentially dangerous, migration.
11 lines
249 B
Python
11 lines
249 B
Python
from django.db import models
|
|
from spa.models._basemodel import _BaseModel
|
|
|
|
class Label(_BaseModel):
|
|
class Meta:
|
|
app_label = 'spa'
|
|
|
|
name = models.CharField(max_length=100)
|
|
|
|
def __unicode__(self):
|
|
return self.name |