Django issus

瀏覽次數:66 次
跳到第一則未讀訊息

Hanen Mdaghi

未讀,
2022年4月9日 中午12:14:002022/4/9
收件者: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

未讀,
2022年4月11日 凌晨4:54:082022/4/11
收件者:Django developers (Contributions to Django itself)
Can you share your models and migrations files?

Fab

未讀,
2022年4月11日 清晨5:20:522022/4/11
收件者: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

未讀,
2022年4月11日 清晨5:29:102022/4/11
收件者: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.
回覆所有人
回覆作者
轉寄
0 則新訊息