You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
Hello!
I have problem with uploads files. I add user field:
class Picture(models.Model):
user = models.ForeignKey(NormalUser)
file = models.ImageField(upload_to="pictures")
I found this solution for views.py in internet:
class PictureCreateView(CreateView):
model = Picture
fields = "all"
But when I add image i see this:
Application don't upload file. Stop in 100%. What is the problem?
Thank You!
efeniks
The text was updated successfully, but these errors were encountered: