Refactoring to konova
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from django.db import models
|
||||
|
||||
from konova.models import BaseResource
|
||||
from organisation.enums import OrganisationTypeEnum
|
||||
|
||||
|
||||
class Organisation(BaseResource):
|
||||
@@ -12,7 +11,6 @@ class Organisation(BaseResource):
|
||||
phone = models.CharField(max_length=500, null=True, blank=True)
|
||||
email = models.EmailField(max_length=500, null=True, blank=True)
|
||||
facsimile = models.CharField(max_length=500, null=True, blank=True)
|
||||
type = models.CharField(max_length=255, choices=OrganisationTypeEnum.as_choices(drop_empty_choice=True), null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
return self.name
|
||||
|
||||
Reference in New Issue
Block a user