using upload_to option @ model field.

https://docs.djangoproject.com/en/3.1/topics/http/file-uploads/#handling-uploaded-files-with-a-model

same url, some other options are there.

On Monday, November 23, 2020 at 12:35:44 AM UTC+5:30 techg...@gmail.com 
wrote:

> Hello,
>
> I am developing an E-Commerce website and I wanted to have a separate 
> upload folder for my slides and separate folders for other sections of my 
> site.
>
> Is there a way i can go about it other than using the ascending and 
> Descending order?
>
> Please advise.
>
> See section of my view.py page.
>
> [image: image.png]
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5f8c850c-c9cb-4d63-8659-cf1368fb2d1bn%40googlegroups.com.

Reply via email to