Multiple Media_Root

15 views
Skip to first unread message

tech george

unread,
Nov 22, 2020, 2:05:44 PM11/22/20
to django...@googlegroups.com
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.png

Naresh Jonnala

unread,
Nov 23, 2020, 8:16:08 AM11/23/20
to Django users

using upload_to option @ model field.


same url, some other options are there.

sakshi jain

unread,
Nov 23, 2020, 8:41:46 AM11/23/20
to django...@googlegroups.com
I want this Website ..u can help me

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADYG20EjD6mRidk8LbyE8_8rAMT3z%3DPki0253eEtO4KtXttwPg%40mail.gmail.com.

Mbah Victor

unread,
Nov 23, 2020, 8:41:52 AM11/23/20
to django...@googlegroups.com
Plz can u send me a review of what you what

Victor

tech george

unread,
Nov 23, 2020, 12:16:19 PM11/23/20
to django...@googlegroups.com
Thanks for the guide,

Let me try this option then i'll let you know in case I get stuck.

Reply all
Reply to author
Forward
0 new messages