want to convert Django REST APIs from http to https in production

2018-12-15 Thread JAGADESH M
Hi, I am new to django when i run Django REST API by default it is showing *http://127.0.0.1* that's fine. But when i go deployment when i run APIs, even there it's running in insecure(http) only like *http://myproductionip *. so can anyone help me to resolve this problem. thank you --

Re: want to convert Django REST APIs from http to https in production

2018-12-15 Thread swathi2801 Yadhav
please keep the screenshots the link is not working On Sat, Dec 15, 2018 at 4:29 PM JAGADESH M wrote: > Hi, >I am new to django when i run Django REST API by default it is > showing *http://127.0.0.1 * that's fine. But when i go > deployment when i run APIs, even there

Re: Can't install mysqlclient

2018-12-15 Thread Rabil Abdullahi
thank you so much, I already have ubuntu LTS version on my machine. things are quite more clear now On Sat, Oct 27, 2018 at 10:11 PM Swetank Subham Roy wrote: > Yes Linux is best suited OS for developers. You can start getting familiar > with Linux by using latest Ubuntu LTS version. Ubuntu pro

Re: want to convert Django REST APIs from http to https in production

2018-12-15 Thread Kasper Laudrup
Hi Jagadesh, On 15/12/2018 11.59, JAGADESH M wrote: Hi,    I am new to django when i run Django REST API by default it is showing *http://127.0.0.1* that's fine. But when i go deployment when i run APIs, even there it's running in insecure(http) only like *http://myproductionip *. so can

Re: Password reset from address

2018-12-15 Thread malisutnau
Thankyou sir Sent from my Mi phoneOn Andréas Kühne , Dec 15, 2018 3:21 AM wrote:Hi,Check the views for password reset in the django.contrib.auth package. You can add the form_email by creating a class that inherits the PasswordResetView and sets the from_email property on that view.Regards,André

New to Django

2018-12-15 Thread elddirmmot
Hello - I'm trying to get Django up and running and I'm having some likely trivial trouble. I'm following the "Writing your first Django app" tutorial, but I'm getting stuck trying to create the project using 'django-admin startproject mysite'. The output says command not found. I've tried tro

Model crippled when defining properties with "__init__", help!

2018-12-15 Thread regtech
Hello every one! I am using django, today i have a reqirement that was defining some properties on models, so i wrote the "__init__" to do that in my Model class, and then i found that i was lost the code prompting of the model class when i using them by write "MyFooModel( a_filed=...", and the

Re: New to Django

2018-12-15 Thread Gene LaRose
Have you installed a new environment and django? On Sat, Dec 15, 2018, 12:53 PM Hello - I'm trying to get Django up and running and I'm having some likely > trivial trouble. I'm following the "Writing your first Django app" > tutorial, but I'm getting stuck trying to create the project using > '

Django and OpenCV

2018-12-15 Thread odinukwezebruno
Can I wrap opencv app inside the Djanngo framework, to build an object detection app. If yes please tell me how -- 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

[ask] Django video streaming server

2018-12-15 Thread Riska Kurnianto
Hello all, is there any rigit method to build video streming server with django?? I tried google but not find something interesting -- -- 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

Need some help with updating a database record from forms cleaned data

2018-12-15 Thread progmgppers
Hi I am trying to update a record. Form.save() worked but it created a new record and I have yet to figure out how to update a database record in views.py. Below are the 2 views related to what I'm doing. On one page I list customers to be chosen for update. When a customer is chosen, the pk is

Re: Need some help with updating a database record from forms cleaned data

2018-12-15 Thread progmgppers
While I'm waiting on a response, I will try an update view. On Saturday, December 15, 2018 at 10:58:36 PM UTC-5, progm...@gmail.com wrote: > > Hi I am trying to update a record. Form.save() worked but it created a new > record and I have yet to figure out how to update a database record in > vi

Re: [ask] Django video streaming server

2018-12-15 Thread Yavin Aalto Arba
https://github.com/andrewebdev/django-video there are plenty of other good plugin out there. Why build from scratch? Other peoples peer-reviewed plugin are most likely better than whatever you can muster in a few days\weeks :) On Sun, 16 Dec 2018 at 04:41, Riska Kurnianto wrote: > Hello all,