123456789101112131415161718 |
- # -*- coding: utf-8 -*-
- from __future__ import unicode_literals
- from django.db import models
- from .base import Base
- REQUEST_STATUSES = (
- ('O', 'Abierto'),
- ('R', 'Rechazado'),
- ('P', 'Procesando'),
- ('D', 'Hecho'),
- ('E', 'Error'),
- )
- '''
- '''
- class Request(Base):
- name = models.CharField(max_length=35)
- status = models.CharField(max_length=1, choices=REQUEST_STATUSES, default='O')
|