docs: fix old course_id arg description to modern(2015) usage

the code asserts that this is a key rather than a string
This commit is contained in:
Andy Shultz
2023-10-17 14:01:06 -04:00
parent 3bda3bed4a
commit fadc9618d4

View File

@@ -330,7 +330,7 @@ class CourseEnrollment(models.Model):
attribute), this method will automatically save it before
adding an enrollment for it.
`course_id` is our usual course_id string (e.g. "edX/Test101/2013_Fall)
`course_key` must be a opaque_keys CourseKey object.
It is expected that this method is called from a method which has already
verified the user authentication and access.