In [ ]:
from django.db import models
from datetime import date
from datetime import datetime


class tasksx(models.Model):
    job_title = models.CharField(max_length=400, default="data")
    creator = models.CharField(max_length=400, default="none")
    skill_name = models.CharField(max_length=400, default="none")
    starting = models.CharField(max_length=400, default="none")
    current = models.CharField(max_length=400, default="none")
    description = models.CharField(max_length=4000000, default="none")
    target_date = models.DateTimeField(default=datetime.now)
    target_date2 = models.DateField(default=date.today)
    def __str__(self):
        return self.job_title

class courses(models.Model):
    creator = models.CharField(max_length=4000, default="data")
    course_title = models.CharField(max_length=4000, default="data")
    chosen_price = models.CharField(max_length=400, default="none")
    chosen_img = models.CharField(max_length=4000000, default="none")
    chosen_url = models.CharField(max_length=4000000, default="none")
    skill = models.CharField(max_length=400, default="none")
    def __str__(self):
        return self.course_title
# Create your models here.