Zack Williams | 7e60db3 | 2016-05-02 17:17:45 -0700 | [diff] [blame] | 1 | # Syndicate service models.py |
| 2 | |
| 3 | from core.models import Service |
| 4 | from django.db import models, transaction |
| 5 | |
| 6 | SERVICE_NAME = 'syndicateservice' |
| 7 | SERVICE_NAME_VERBOSE = 'Syndicate Service' |
| 8 | |
| 9 | class SyndicateService(Service): |
| 10 | |
| 11 | KIND = SERVICE_NAME |
| 12 | |
| 13 | class Meta: |
| 14 | app_label = SERVICE_NAME |
| 15 | verbose_name = SERVICE_NAME_VERBOSE |
| 16 | |
| 17 | |
| 18 | class Volume(PLCoreBase): |
| 19 | |
| 20 | KIND = SERVICE_NAME |
| 21 | |
| 22 | class Meta: |
| 23 | app_label = SERVICE_NAME |
| 24 | verbose_name = SERVICE_NAME_VERBOSE |
| 25 | |
| 26 | |