Groups
Sign in
Groups
Django users
Conversations
About
Send feedback
Help
AttributeError: module 'django.db.models' has no attribute 'PointField'
510 views
Skip to first unread message
Ilyas Modni
unread,
Nov 27, 2022, 2:41:45 PM
11/27/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
AttributeError: module 'django.db.models' has no attribute 'PointField'
Karen Tracey
unread,
Nov 27, 2022, 2:44:40 PM
11/27/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
On Sun, Nov 27, 2022 at 2:41 PM Ilyas Modni <
modni...@gmail.com
> wrote:
AttributeError: module 'django.db.models' has no attribute 'PointField'
PointField is in django.contrib.gis.db.models:
https://docs.djangoproject.com/en/4.1/ref/contrib/gis/model-api/#pointfield
Larry Martell
unread,
Nov 27, 2022, 2:45:10 PM
11/27/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
On Sun, Nov 27, 2022 at 2:40 PM Ilyas Modni <
modni...@gmail.com
> wrote:
>
> AttributeError: module 'django.db.models' has no attribute 'PointField'
Are you importing:
from django.contrib.gis.db import models
Reply all
Reply to author
Forward
0 new messages