from django.db import models
"""
# Create your models here.
# declare a new model with a name webProjectApp
class webProjectAppModel(models.Model):
    # fields of the model
    title = models.CharField(max_length=200)
    description = models.TextField()
    last_modified = models.DateTimeField(auto_now_add= True)
    img = models.ImageField(upload_to = "images/")

    # renames the instances of the model
    # with their title names

def __str__(self):
    return self.title
"""
from django.db import models
"""
# Create your models here.
# declare a new model with a name webProjectApp
class webProjectAppModel(models.Model):
    # fields of the model
    title = models.CharField(max_length=200)
    description = models.TextField()
    last_modified = models.DateTimeField(auto_now_add= True)
    img = models.ImageField(upload_to = "images/")

    # renames the instances of the model
    # with their title names

def __str__(self):
    return self.title
"""
# Create your models here. # declare a new model with a name webProjectApp class webProjectAppModel(models.Model):     # fields of the model     title = models.CharField(max_length=200)     description = models.TextField()     last_modified = models.DateTimeField(auto_now_add= True)     img = models.ImageField(upload_to = "images/")      # renames the instances of the model     # with their title names  def __str__(self):     return self.title