mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Rename def for adding landmarks
This commit is contained in:
parent
89087f8566
commit
abed03617e
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue