Re: Multiple Media_Root

2020-11-23 Thread tech george
Thanks for the guide,

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

On Mon, Nov 23, 2020 at 4:41 PM Mbah Victor 
wrote:

> Plz can u send me a review of what you what
>
> Victor
>
> On Sun, Nov 22, 2020, 8:05 PM tech george  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/CADYG20EjD6mRidk8LbyE8_8rAMT3z%3DPki0253eEtO4KtXttwPg%40mail.gmail.com
>> 
>> .
>>
> --
> 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/CANTsAyd6cerLF%3DmNEsUWO1xKgUm7meZRBNj0HNg6Zrh0TWFVjA%40mail.gmail.com
> 
> .
>

-- 
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/CADYG20F376ZyLJO7V5xbQn6jffxSzsXDYwAwv-rTehGLzqC74w%40mail.gmail.com.


Re: Multiple Media_Root

2020-11-23 Thread sakshi jain
I want this Website ..u can help me

On Mon, Nov 23, 2020, 00:35 tech george  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/CADYG20EjD6mRidk8LbyE8_8rAMT3z%3DPki0253eEtO4KtXttwPg%40mail.gmail.com
> 
> .
>

-- 
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/CAJhs3iOOtCGdfPMrj0X%3D0aLcNzLibcBQx0_%2Bv0UxWrNeU5_DKA%40mail.gmail.com.


Re: Multiple Media_Root

2020-11-23 Thread Mbah Victor
Plz can u send me a review of what you what

Victor

On Sun, Nov 22, 2020, 8:05 PM tech george  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/CADYG20EjD6mRidk8LbyE8_8rAMT3z%3DPki0253eEtO4KtXttwPg%40mail.gmail.com
> 
> .
>

-- 
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/CANTsAyd6cerLF%3DmNEsUWO1xKgUm7meZRBNj0HNg6Zrh0TWFVjA%40mail.gmail.com.


Re: Multiple Media_Root

2020-11-23 Thread Naresh Jonnala

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.


Multiple Media_Root

2020-11-22 Thread tech george
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/CADYG20EjD6mRidk8LbyE8_8rAMT3z%3DPki0253eEtO4KtXttwPg%40mail.gmail.com.