Re: Media Files - local network share

2022-02-07 Thread Jiffin George Kokkat
Hi,

Mount shared network path to media folder of the Django.
https://stackoverflow.com/questions/52825610/django-media-root-pointed-to-network-drive

this may help

Thanks,
Jiffin George Kokkat


On Mon, Feb 7, 2022 at 7:41 PM Litesh Garg  wrote:

> Hi,
>
> You can use django storages, particularly ftp or sftp modules for storage
> and then use nginx to server these files.
> You can go through documentation here.
> https://django-storages.readthedocs.io/en/latest/backends/ftp.html
>
> On Mon, Feb 7, 2022 at 7:05 AM Swelan Auguste 
> wrote:
>
>> Good day,
>>
>> Thanks. I was more looking for a local solutions (within a closed network)
>>
>> Kindly,
>>
>> Swelan R. Auguste (Mr.)
>> KingShip
>> Technical Information Officer
>> 758-489-3909
>> Webpage <https://sites.google.com/view/swelanauguste/home>
>>
>>
>>
>> On Sun, Feb 6, 2022 at 9:19 PM Yeboah Dominic 
>> wrote:
>>
>>> You can try dropbox that is what I used to serve my media files in django
>>>
>>> On Sun, 6 Feb 2022 at 20:07, Swelan Auguste 
>>> wrote:
>>>
>>>>
>>>> Good day all,
>>>>
>>>>
>>>> I am trying to figure out how to attach a Django app to a local network
>>>> server/share.
>>>>
>>>> I do not want to host the media files on the same server so that the
>>>> server doesn't run out of space and I can and I can grow my media file host
>>>> share/server as it grows.
>>>> Kindly,
>>>>
>>>> Swelan R. Auguste (Mr.)
>>>> KingShip
>>>> Technical Information Officer
>>>> 758-489-3909
>>>> Webpage <https://sites.google.com/view/swelanauguste/home>
>>>>
>>>> --
>>>> 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/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> 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/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CADA6A2FJmeGC9hxyJ7JAYeK%3Df%2Bh40JjCnFLZxU65Ycp6R6%3DqfQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CADA6A2FJmeGC9hxyJ7JAYeK%3Df%2Bh40JjCnFLZxU65Ycp6R6%3DqfQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAJ1rugfa5YotE1VLpzwi2t77puWkERU%2Bieg4gzoxSRqOovyVYg%40mail.gmail.com.


using variable in django template

2021-02-16 Thread Jiffin George Kokkat
Hi guys,
i want to declare a variable in django template and update value of
variable inside a loop

how to do
Thanks,
Jiffin George Kokkat

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