class Vacancy(models.Model):
user = models.ForeignKey(User)
title = models.CharField(max_length=255)
company_name = models.CharField(max_length=255)
website = models.URLField(blank=True)
about_company = models.TextField(blank=True)
required_skills = models.TextField(blank=True)
about_job = models.TextField(blank=True)
class VacancyForm(forms.ModelForm):
class Meta:
model = Vacancy
fields = ('title','company_name', 'website', 'about_company','required_skills','about_job',)
Y2xhc3MgVmFjYW5jeShtb2RlbHMuTW9kZWwpOgogICAgdXNlciA9IG1vZGVscy5Gb3JlaWduS2V5KFVzZXIpCiAgICB0aXRsZSA9IG1vZGVscy5DaGFyRmllbGQobWF4X2xlbmd0aD0yNTUpCiAgICBjb21wYW55X25hbWUgPSBtb2RlbHMuQ2hhckZpZWxkKG1heF9sZW5ndGg9MjU1KQogICAgd2Vic2l0ZSA9IG1vZGVscy5VUkxGaWVsZChibGFuaz1UcnVlKQogICAgYWJvdXRfY29tcGFueSA9IG1vZGVscy5UZXh0RmllbGQoYmxhbms9VHJ1ZSkKICAgIHJlcXVpcmVkX3NraWxscyA9IG1vZGVscy5UZXh0RmllbGQoYmxhbms9VHJ1ZSkKICAgIGFib3V0X2pvYiA9IG1vZGVscy5UZXh0RmllbGQoYmxhbms9VHJ1ZSkKICAgIApjbGFzcyBWYWNhbmN5Rm9ybShmb3Jtcy5Nb2RlbEZvcm0pOgoKICAgIGNsYXNzIE1ldGE6CiAgICAgICAgbW9kZWwgPSBWYWNhbmN5CiAgICAgICAgZmllbGRzID0gKCd0aXRsZScsJ2NvbXBhbnlfbmFtZScsICd3ZWJzaXRlJywgJ2Fib3V0X2NvbXBhbnknLCdyZXF1aXJlZF9za2lsbHMnLCdhYm91dF9qb2InLCkK