diff --git a/stude/landmarks/models.py b/stude/landmarks/models.py index 97578c3..a2fb2dc 100644 --- a/stude/landmarks/models.py +++ b/stude/landmarks/models.py @@ -15,7 +15,7 @@ class Landmark(models.Model): @receiver(post_migrate) -def populate_courses(sender, **kwargs): +def populate_landmarks(sender, **kwargs): if sender.name == 'landmarks': SRID = 4326 Landmark.objects.get_or_create(