如何在表单和模板中定义电话号码错误获取:django.template.exceptions.TemplateDoesNotExist:phone\u field/phone\u widget.html?
如何在forms.py和我尝试过的模板中定义电话号码字段,但出现错误:django.template.exceptions.TemplateDoesNotExist:phone\u field/phone\u widget.html models.py如何在表单和模板中定义电话号码错误获取:django.template.exceptions.TemplateDoesNotExist:phone\u field/phone\u widget.html?,django,Django,如何在forms.py和我尝试过的模板中定义电话号码字段,但出现错误:django.template.exceptions.TemplateDoesNotExist:phone\u field/phone\u widget.html models.py from phone_field import PhoneField phone = PhoneField(blank=True, help_text='Contact phone number') 我也有同样的问题。对我有效的解决办法是 通
from phone_field import PhoneField
phone = PhoneField(blank=True, help_text='Contact phone number')
我也有同样的问题。对我有效的解决办法是
通过将
'phone\u field'
添加到已安装的应用程序中
我也遇到了同样的问题。对我有效的解决办法是
通过将
'phone\u field'
添加到已安装的应用程序中
您好,欢迎使用SO。您可能需要阅读和编辑相应的问题。您好,欢迎访问SO。您可能需要相应地阅读和编辑您的问题。