eCommerce
eCommerce copied to clipboard
Unable to run code eCommerce2.
Hi,
I am unable to run this code using django 2 after relevant migrations.
After getting the environment (Python, Postgres, etc.) right for your OS, there are some django changes from 1.11 to 2 that you need to make. The 2 I've so far are:
- Change
from django.core.urlresolvers import reverse
tofrom django.urls import reverse
-
Getting TypeError: __init__() missing 1 required positional argument: 'on_delete' when trying to add parent table after child table with entries
You need to fix the Model code to comply the Django changes.
Google is your friend! ;-)