Thursday, April 1, 2021

Re: ModuleNotFoundError -- Please help :)

try this

from reporter.models import Counties

Regards
Ajay Rathore
Python Developer


On Thu, Apr 1, 2021 at 4:17 PM Ryan Nowakowski <tubaman@fattuba.com> wrote:
Since your models aren't in the migrations python package, I would use an absolute path in the import statement here rather than the relative path.

On March 31, 2021 9:50:30 PM CDT, 'Dante Costabile' via Django users <django-users@googlegroups.com> wrote:
Hiya Folks.  Relatively new to django and quite enjoying it.  However working on a geodjango project and I'm getting this error.

Screen Shot 2021-03-31 at 10.48.41 PM.png

Here is the file its referencing:Screen Shot 2021-03-31 at 10.49.30 PM.png

and my file structure:

Screen Shot 2021-03-31 at 10.50.11 PM.png

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/B54524CA-E163-4718-8D5F-D956F2D4A69B%40fattuba.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACDrS2prNfm7e0GuLuHBMX%2BJfu8ny2Jv881a3OXTYQwwF3z-ow%40mail.gmail.com.

No comments:

Post a Comment