diff --git a/projects/models.py b/projects/models.py index 71a8362..36fa28b 100644 --- a/projects/models.py +++ b/projects/models.py @@ -1,3 +1,8 @@ from django.db import models # Create your models here. +class Project(models.Model): + title = models.CharField(max_length=100) + description = models.TextField() + technology = models.CharField(max_length=20) + image = models.FilePathField(path="/img")