mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-26 11:37:33 +00:00
13 lines
357 B
Python
Executable File
13 lines
357 B
Python
Executable File
from django.db import models
|
|
from django.db.models.loading import get_model
|
|
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'} |