Commit c40d5a0f by Michael Frey Committed by Michael Frey

fix course entitlement category creation

parent 4e55e31c
...@@ -41,11 +41,9 @@ def create_product_class(apps, schema_editor): ...@@ -41,11 +41,9 @@ def create_product_class(apps, schema_editor):
) )
# Create a category for course entitlements # Create a category for course entitlements
Category.objects.create( Category.add_root(
description="All course entitlements", description="All course entitlements",
slug="course_entitlements", slug="course_entitlements",
depth=1,
path="0003",
image="", image="",
name="Course Entitlements" name="Course Entitlements"
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment