We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class Collect(models.Model): user = models.ForeignKey(User) wine = models.ForeignKey(Wine) class User(models.Model): nickname = models.CharField(max_length=50) img = models.ImageField(upload_to='')
在xadmin中,如果我在Collect的CreateFormView界面中添加user,因为user包含图片字段,而xadmin的插件quickform在弹出的dialog中表单提交的方式是ajax,所以图书会上传不上去.
The text was updated successfully, but these errors were encountered:
需要用到jquery-ajax-upload插件了。
jquery-ajax-upload needed.
Sorry, something went wrong.
fiexd quick-form file upload bug sshwsfc#47
264088c
6d9f519
@lulupy 您好,请问这个问题您是怎么解决的
sshwsfc
No branches or pull requests
models:
class Collect(models.Model):
user = models.ForeignKey(User)
wine = models.ForeignKey(Wine)
class User(models.Model):
nickname = models.CharField(max_length=50)
img = models.ImageField(upload_to='')
在xadmin中,如果我在Collect的CreateFormView界面中添加user,因为user包含图片字段,而xadmin的插件quickform在弹出的dialog中表单提交的方式是ajax,所以图书会上传不上去.
The text was updated successfully, but these errors were encountered: