Django issus

62 views
Skip to first unread message

Hanen Mdaghi

unread,
Apr 9, 2022, 12:14:00 PMApr 9
to Django developers (Contributions to Django itself)
hello !
I whish that you are fine, i try to migrate my model my model name is employee but it dosent work the issus msj is ImportError:cannot import name 'employee' from 'polls.models'

Fab

unread,
Apr 11, 2022, 4:54:08 AMApr 11
to Django developers (Contributions to Django itself)
Can you share your models and migrations files?

Fab

unread,
Apr 11, 2022, 5:20:52 AMApr 11
to Django developers (Contributions to Django itself)
Actually you need to just fix the import error. The error will say where's it's happening. Could it be you are importing `employee` when you should be `Employee`?

Adam Johnson

unread,
Apr 11, 2022, 5:29:10 AMApr 11
to Django developers (Contributions to Django itself)
Hi!

I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer your support query with their limited time and energy.

For support, please follow the "Getting Help" page: https://docs.djangoproject.com/en/stable/faq/help/ . This will help you find people who are willing to support you, and to ask your question in a way that makes it easy for them to answer.

Thanks for your understanding and all the best,

Adam

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3eac30d4-d3ec-459b-9ea1-c0197abf6eafn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages