We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b22792 commit 1af2381Copy full SHA for 1af2381
1 file changed
src/django/api/models.py
@@ -1,5 +1,5 @@
1
from django.db import models
2
-from django.contrib.gis.db import models
+from django.contrib.gis.db import models as gis_models
3
from django.contrib.auth.models import PermissionsMixin
4
from django.contrib.auth.base_user import AbstractBaseUser
5
from django.contrib.auth.models import Group, Permission
@@ -47,7 +47,7 @@ def __str__(self):
47
48
49
class Location(models.Model):
50
- location = models.PointField()
+ location = gis_models.PointField()
51
name = models.TextField()
52
address = models.TextField()
53
hours = models.ForeignKey(BusinessHours, on_delete=models.CASCADE)
0 commit comments