mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-22 09:18:13 +00:00
13 lines
297 B
Python
13 lines
297 B
Python
from django.db import models
|
|
from .basemodel import BaseModel
|
|
|
|
|
|
class _Lookup(BaseModel):
|
|
description = models.CharField(max_length=100)
|
|
|
|
def __unicode__(self):
|
|
return self.description
|
|
|
|
@classmethod
|
|
def get_select_lookup(cls):
|
|
return {'description' : 'description'} |