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

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 python manage.py makemigrations and then python manage.py migrate on my terminal. when i try to open up the site 127.0.0.1:800 it refuses to connect.
thank you!
Hi i am working with Django and Python on the code part
I have red or yellow squiggly lines under some code. when i

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!