Add below line into your model. image = models.ImageField(upload_to='pathwheretoupload')
On Mon, 3 Sep 2018, 10:41 pm Mikhailo Keda, <[email protected]> wrote: > Check the docs - > https://docs.djangoproject.com/en/2.1/ref/models/fields/#django.db.models.ImageField >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/91b5e833-2f6e-4eba-918e-ddbf6f7610e1%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/91b5e833-2f6e-4eba-918e-ddbf6f7610e1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOh93nc1T0UpZojp%2BiU7JwGeTs-58JPK9JEEz3KPbv_QOoUfAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

