fix: cockpit url double slash
This commit is contained in:
parent
becbbd01ca
commit
4af56f721b
|
|
@ -41,7 +41,7 @@ class Course(models.Model):
|
||||||
return f"/course/{self.slug}"
|
return f"/course/{self.slug}"
|
||||||
|
|
||||||
def get_cockpit_url(self):
|
def get_cockpit_url(self):
|
||||||
return f"/{self.get_course_url()}/cockpit"
|
return f"{self.get_course_url()}/cockpit"
|
||||||
|
|
||||||
def get_learning_path(self):
|
def get_learning_path(self):
|
||||||
from vbv_lernwelt.learnpath.models import LearningPath
|
from vbv_lernwelt.learnpath.models import LearningPath
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue