Re: need help integrating SSL with react/django web app

2021-05-09 Thread John McClain
Hello Ammar,

we're stuck, have been for days

We have nginx set in ec2 instance but cannot get the ssl to slip in.

I copied in Divy who is also working to get this solved

any help would be appreciated


can you help me with this or provide any documentation

On Sat, 8 May 2021 at 10:16, Ammar Mohammed  wrote:

> I am using Nginx as a proxy for my Django app and this method is working
> just fine.
>
> On Sat, May 8, 2021, 11:14 Ammar Mohammed  wrote:
>
>> I think you're supposed to install the certificate in your web server
>> (Nginx, Apache).
>> Follow the manual to install it to your server and everything will be
>> fine.
>>
>> On Sat, May 8, 2021, 10:35 John McClain  wrote:
>>
>>> Hello,
>>>
>>> I am having difficulties connecting SSL to my React/Python webapp
>>>
>>> I am trying to integrate the PWA and am having difficulties getting the
>>> SSL to adopt to the app.
>>>
>>> Does anyone have experience with this?
>>>
>>> Cheers
>>>
>>> --
>>> John McClain
>>>
>>> Cell: 085-1977-823
>>> Skype: jmcclain0129
>>> Email: jmcclain0...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
> 
> .
>


-- 
John McClain

Cell: 085-1977-823
Skype: jmcclain0129
Email: jmcclain0...@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/CAN-hv_q65qzyrnC6BTxsm8p%3DLtbjz8iVx11WsFA5higpFKJpfA%40mail.gmail.com.


Re: Threading videos one after the other

2021-05-09 Thread מוריה יצחקי
Moriya
Thanks to all the helpers


‫בתאריך יום א׳, 9 במאי 2021 ב-20:14 מאת ‪Gabriel Araya Garcia‬‏ <‪
gabrielaraya2...@gmail.com‬‏>:‬

> At first, what's your name? So I know Who answering to
>
> El dom., 9 may. 2021 11:50, Ryan Nowakowski 
> escribió:
>
>> Note: I googled for "HTML video playlist"
>>
>> On May 9, 2021 10:41:28 AM CDT, Ryan Nowakowski 
>> wrote:
>>>
>>> https://stackoverflow.com/a/2552131/226697
>>>
>>> On May 8, 2021 2:12:15 PM CDT, "מוריה יצחקי" 
>>> wrote:

 Hi
 Thanks to all the helpers
 I got from the Python file to the HTML file a list of URLs that are
 inside the arraysrc variable
 And I want to run all the videos one after the other ends up in the
 same place
 I tried to do as in the picture I attached but it runs all the videos
 at once, one next to the other
 I would be very happy to help
 Thank you!!
 [image: for.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/E43F3BE7-2E74-4E3A-8810-8E6633EA4EB8%40fattuba.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/CAKVvSDB7L0eKORaJs%3D4mMuAwxvmDE4DW81aJVHvJroNSPotsSg%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/CA%2B277bvJVjuG9c%2BJB9O%3DFzcWOnUB0Dwu3C8MtaPfwCv1vv6KFw%40mail.gmail.com.


Re: Threading videos one after the other

2021-05-09 Thread Gabriel Araya Garcia
At first, what's your name? So I know Who answering to

El dom., 9 may. 2021 11:50, Ryan Nowakowski  escribió:

> Note: I googled for "HTML video playlist"
>
> On May 9, 2021 10:41:28 AM CDT, Ryan Nowakowski 
> wrote:
>>
>> https://stackoverflow.com/a/2552131/226697
>>
>> On May 8, 2021 2:12:15 PM CDT, "מוריה יצחקי" 
>> wrote:
>>>
>>> Hi
>>> Thanks to all the helpers
>>> I got from the Python file to the HTML file a list of URLs that are
>>> inside the arraysrc variable
>>> And I want to run all the videos one after the other ends up in the same
>>> place
>>> I tried to do as in the picture I attached but it runs all the videos at
>>> once, one next to the other
>>> I would be very happy to help
>>> Thank you!!
>>> [image: for.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/E43F3BE7-2E74-4E3A-8810-8E6633EA4EB8%40fattuba.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/CAKVvSDB7L0eKORaJs%3D4mMuAwxvmDE4DW81aJVHvJroNSPotsSg%40mail.gmail.com.


Re: Threading videos one after the other

2021-05-09 Thread Ryan Nowakowski
Note: I googled for "HTML video playlist"

On May 9, 2021 10:41:28 AM CDT, Ryan Nowakowski  wrote:
>https://stackoverflow.com/a/2552131/226697
>
>On May 8, 2021 2:12:15 PM CDT, "מוריה יצחקי" 
>wrote:
>>Hi
>>Thanks to all the helpers
>>I got from the Python file to the HTML file a list of URLs that are
>>inside 
>>the arraysrc variable
>>And I want to run all the videos one after the other ends up in the
>>same 
>>place
>>I tried to do as in the picture I attached but it runs all the videos
>>at 
>>once, one next to the other
>>I would be very happy to help
>>Thank you!!
>>[image: for.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/c3f549c8-cf27-436f-bd0c-bd781ba5c701n%40googlegroups.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/23CD3C79-EA7A-415A-9608-6D75BBD2275E%40fattuba.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/E43F3BE7-2E74-4E3A-8810-8E6633EA4EB8%40fattuba.com.


Re: Threading videos one after the other

2021-05-09 Thread Ryan Nowakowski
https://stackoverflow.com/a/2552131/226697

On May 8, 2021 2:12:15 PM CDT, "מוריה יצחקי"  wrote:
>Hi
>Thanks to all the helpers
>I got from the Python file to the HTML file a list of URLs that are
>inside 
>the arraysrc variable
>And I want to run all the videos one after the other ends up in the
>same 
>place
>I tried to do as in the picture I attached but it runs all the videos
>at 
>once, one next to the other
>I would be very happy to help
>Thank you!!
>[image: for.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/c3f549c8-cf27-436f-bd0c-bd781ba5c701n%40googlegroups.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/23CD3C79-EA7A-415A-9608-6D75BBD2275E%40fattuba.com.


Admin sidebar for change page

2021-05-09 Thread Mike Dewhirst

[Was: Admin layout getting too bulky - what to do?]

Since I started the above thread I have upgraded some sites to Django 
3.2.2. and today discovered there is now an Admin sidebar built right 
in. Bravo! I could never have done that.


That doesn't really change what I would like while editing a single 
record with many 1:1 and 1:n sub-related-records.


The problem to be solved is that a single record screen size can be 
enormous and you need a quick way to navigate up and down the page to 
whichever 1:1 or 1:n section is wanted.


The related model's verbose_name_plural is used as a section header and 
perhaps it just needs a name anchor html tag inserted just above it in 
the model's change page. It doesn't work when it is on the same line 
because it interferes with Show/Hide for the topmost related record in 
the section.


Even doing that alone would be great because it would allow you use the 
anchor to go straight to a certain section of a long change page from 
another non-admin view.


That sidebar is brilliant. It would be even more brilliant if it morphed 
into a sidebar for a model's change page.


If anyone sees any value in making that happen I'm very happy to 
contribute - as directed!


Cheers

mike

My project has a central table with many 1:n and n:m sub-tables. I 
mean lots of them. It takes forever to keep scrolling up and down the 
page to find the section of interest and then maybe scroll through 
some records in that section before clicking (SHOW) to reveal data.


Is there a way I can do a sidebar of links which take the user to 
specific sections?


I have had a look at the contrib layout and it doesn't appear obvious 
what to do. Especially since they don't pay me enough to play with js ;-)


Has this been solved before? 


--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.


--
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/ff6ef09e-c4d1-368a-48b9-7424662b2246%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Conversion of web app to mobile app

2021-05-09 Thread Kelvin Sajere
Modern applications are built so you can from it create a web app, mobile
app, or just about anything. I'm talking about building a backend API with
Django Rest Framework or any other backend technology and then create a
frontend web app, mobile app, or whatever by calling the API.

On Sat, May 8, 2021 at 22:44 Kopal Shrivastava  wrote:

> Hello,
>
> I wanted to create a mobile app using django but wanted to know if I
> should straight away work on a mobile app or work on a web app and then
> convert it into a mobile app. Also wanted to know how difficult and time
> taking is the process to convert a web app into mobile app.
>
> Thanks in advance
>
> --
> 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/132268f5-894d-4ee7-96ed-2a293feefcbfn%40googlegroups.com
> 
> .
>
-- 
KeLLs

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


Re: cannot assign to literal

2021-05-09 Thread Ennio Santos
Or just this:
data = {
'form': = CarrosForm()
}

to the return render, you need to add the html template name.

Em sexta-feira, 7 de maio de 2021 às 20:22:09 UTC-3, lipede...@gmail.com 
escreveu:

> Try data['form'] =Carossform()
>
> On Fri, May 7, 2021, 6:33 PM Rodrigo Alves  wrote:
>
>> Boa tarde amigos!
>>
>> alguém pode me ajudar?
>>
>> esta aparecendo este erro!
>>
>> cannot assign to literal
>>
>> o meu codigo é este:
>>
>> def form(request):
>> data = {}
>> data = ['form'] = CarrosForm()
>> return render(request, 'form.html', data)
>>
>> -- 
>> 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/CAKkbzD0AUqvGSFRgBuSmkNMqgRtW1EGoBKM2x3P61uJrZX7OdQ%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/e3031848-936c-44d9-8d28-55f228ef76c2n%40googlegroups.com.