from django.db import models
from wedit.apps.profiles.models import Profile


class Order(models.Model):
    """ Design order. """

    STATUS_CHOICES = (('pending', 'Pending'), ('approved',
                                               'Approved'), ('rejected', 'Rejected'))
    owner = models.ForeignKey(Profile, on_delete=models.CASCADE)
    order_title = models.TextField(max_length=255)
    order_summary = models.TextField()
    order_file = models.CharField(max_length=255)
    description_file = models.CharField(max_length=255)
    order_status = models.CharField(
        choices=STATUS_CHOICES, default='pending', max_length=30)

dff7fd9099b53e5aa156fdf9917bb0d87c8f636d
<mask token>


class Order(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Order(models.Model):
    <mask token>
    STATUS_CHOICES = ('pending', 'Pending'), ('approved', 'Approved'), (
        'rejected', 'Rejected')
    owner = models.ForeignKey(Profile, on_delete=models.CASCADE)
    order_title = models.TextField(max_length=255)
    order_summary = models.TextField()
    order_file = models.CharField(max_length=255)
    description_file = models.CharField(max_length=255)
    order_status = models.CharField(choices=STATUS_CHOICES, default=
        'pending', max_length=30)

<mask token>


class Order(models.Model):
    """ Design order. """
    STATUS_CHOICES = ('pending', 'Pending'), ('approved', 'Approved'), (
        'rejected', 'Rejected')
    owner = models.ForeignKey(Profile, on_delete=models.CASCADE)
    order_title = models.TextField(max_length=255)
    order_summary = models.TextField()
    order_file = models.CharField(max_length=255)
    description_file = models.CharField(max_length=255)
    order_status = models.CharField(choices=STATUS_CHOICES, default=
        'pending', max_length=30)

from django.db import models
from wedit.apps.profiles.models import Profile


class Order(models.Model):
    """ Design order. """
    STATUS_CHOICES = ('pending', 'Pending'), ('approved', 'Approved'), (
        'rejected', 'Rejected')
    owner = models.ForeignKey(Profile, on_delete=models.CASCADE)
    order_title = models.TextField(max_length=255)
    order_summary = models.TextField()
    order_file = models.CharField(max_length=255)
    description_file = models.CharField(max_length=255)
    order_status = models.CharField(choices=STATUS_CHOICES, default=
        'pending', max_length=30)

from django.db import models
from wedit.apps.profiles.models import Profile


class Order(models.Model):
    """ Design order. """

    STATUS_CHOICES = (('pending', 'Pending'), ('approved',
                                               'Approved'), ('rejected', 'Rejected'))
    owner = models.ForeignKey(Profile, on_delete=models.CASCADE)
    order_title = models.TextField(max_length=255)
    order_summary = models.TextField()
    order_file = models.CharField(max_length=255)
    description_file = models.CharField(max_length=255)
    order_status = models.CharField(
        choices=STATUS_CHOICES, default='pending', max_length=30)
