zmiana w polach w JobOffer
This commit is contained in:
parent
898063767e
commit
e5365b31ec
@ -28,6 +28,30 @@ class JobOffer(models.Model):
|
|||||||
('D', 'Inny status')
|
('D', 'Inny status')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
category_choices = [
|
||||||
|
('A', 'Budownictwo'),
|
||||||
|
('B', 'IT'),
|
||||||
|
('C', 'Elektryka i Elektronika'),
|
||||||
|
('D', 'Produkcja'),
|
||||||
|
('E', 'Mechanika i konstrukcje'),
|
||||||
|
('F', 'Chemia i Biotechnologia'),
|
||||||
|
('G', 'Biomedyczne'),
|
||||||
|
('H', 'Automatyka i Robotyka'),
|
||||||
|
('I', 'Logistyka i Transport'),
|
||||||
|
('J', 'Sprzedaż'),
|
||||||
|
('Z', 'Inne')
|
||||||
|
]
|
||||||
|
|
||||||
|
experience_levels = [
|
||||||
|
('A', 'Stażysta'),
|
||||||
|
('B', 'Junior'),
|
||||||
|
('C', 'Mid'),
|
||||||
|
('D', 'Senior'),
|
||||||
|
('E', 'Lead'),
|
||||||
|
('F', 'Manager'),
|
||||||
|
('G', 'Inne'),
|
||||||
|
]
|
||||||
|
|
||||||
posting_option = models.CharField(max_length=1, choices=posting_options)
|
posting_option = models.CharField(max_length=1, choices=posting_options)
|
||||||
company_name = models.CharField(max_length=255)
|
company_name = models.CharField(max_length=255)
|
||||||
name = models.CharField(max_length=255)
|
name = models.CharField(max_length=255)
|
||||||
@ -40,8 +64,10 @@ class JobOffer(models.Model):
|
|||||||
vat_number = models.CharField(max_length=10)
|
vat_number = models.CharField(max_length=10)
|
||||||
created_at = models.DateTimeField(default=timezone.now)
|
created_at = models.DateTimeField(default=timezone.now)
|
||||||
status = models.CharField(max_length=1, choices=status_choices, default='W')
|
status = models.CharField(max_length=1, choices=status_choices, default='W')
|
||||||
status_paid = models.CharField(max_length=1, choices=paid_status, default='N')
|
status_paid = models.CharField(max_length=1, choices=paid_status,
|
||||||
category = models.CharField(max_length=255, null=True, blank=True)
|
default='N')
|
||||||
|
category = models.CharField(max_length=1, choices=category_choices,
|
||||||
|
default='G')
|
||||||
expiration_date = models.DateTimeField(null=True, blank=True)
|
expiration_date = models.DateTimeField(null=True, blank=True)
|
||||||
image = models.CharField(max_length=255, null=True, blank=True)
|
image = models.CharField(max_length=255, null=True, blank=True)
|
||||||
experience_level = models.CharField(max_length=255, null=True, blank=True)
|
experience_level = models.CharField(max_length=255, null=True, blank=True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user