Question: Hi i am working with Django and Python on the code part I have red or yellow squiggly lines under some code. when i run

mainapp - admin. settings.py models.py x admin.py Ofrom django.contrib import admin src/1 1 2 3 # Register your models here. Afrom .models import Product 4 5 admin.site.register(Product) I 9 /Users/cindy Lara/Desktop/Python-Projects/src/mainapp/products/adu call last): ma/Desktop/Python-Projects/src/mainanp/products/admin.ny", line 1, i b import admin O module named 'django s.py Remodels.py admin.py from django.db import models # Create your models here. class product.(models: Modeli type = models.CharField(max_length=60) name = models. CharField(max_length=60, default="", blank=True, null=False) description = models. TextField(max_length=300, default="", blank=True) price = models. DecimalField(default=0.00, max_digit=1000, decimal_places=2) image = models.CharField(max_length=255, default='', blank=True)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
