Rename def for adding landmarks

This commit is contained in:
Keannu Bernasol 2023-07-11 15:06:09 +08:00
parent 89087f8566
commit abed03617e

View file

@ -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(