Re: [URGENT] HOW TO DISPLAY IN HTML A PANDAS PLOTTING IN A DJANGO APPLICATION

2019-12-17 Thread Guy NANA
Thanks! I'll take a look at your proposal. Le lundi 16 décembre 2019 17:18:51 UTC+1, Integr@te System a écrit : > > Hi Gana, > > Try implement Django Panda module, > # Create DataFrameManager instance in model > # Query data and then export to Panda dataframe by to_dataframe() method, > # After

Embed an image in email Django

2019-12-17 Thread Santhosh sridhar
Hi, I am using Django's Email message module to trigger an email with an embed image from my static folder. Could someone help? Below is the code that I have used. Code : recipient_list = ['a...@gmail.com'] from_email = 'a...@gmail.com' message = '' path = "{% static 'images/Wel

manage.py can't run any commands

2019-12-17 Thread Phil Yang
Hi, The manage.py script for all my projects has suddenly stopped working. It can't run any commands, such as runserver or startapp. Python is installed correctly; I have tested this with other scripts. I deleted Django and reinstalled, the problem still persists. Basically, whenever I run ma

Greeting, introduce myself & wondering if one read all documentation.

2019-12-17 Thread Jack Lin
Hi all. I'm a new self-taught developer. Just decided to make backend development especially Django to be my full time career. I'm new to programming.. at least i just create my own ugly website and never involve in big projects or open-sources. I read a lot of tutorial and got the basic ideas

Embed an image in email Django

2019-12-17 Thread Santhosh sridhar
Hi, I am using Django's EmailMessage module to trigger an email with embedded image from the static directory path. Somehow the image is not rendering properly in the triggered email. Please find the below code and appreciating your help. Thanks, Santhosh *Code:* recipient_list = ['a...@gm

manage.py not able to run any commands

2019-12-17 Thread Phil Yang
Hi, All of a sudden, when I tried to run manage.py runserver, it didn't produce any output, and it didn't do anything. In fact, the manage.py script seems to not be able to run other commands, such as startapp or createsuperuser. I've already used the command many times prior, and it has always

django orm filter queryset is returning empty

2019-12-17 Thread vignesh s
django orm filter queryset is returning empty queryset and also checked in the db the data is available -- 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-u

Django

2019-12-17 Thread Jani Eric
how to send sms from django website to mobile number at time 50 + number on one click please anyone here for guiding 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 e

Postman API error

2019-12-17 Thread Tosin Ayoola
Hey guys I built an Api with django, generally for sign up, it's meant to b used for Android app development, but now when trying to sign up wit postman, I kip getting csrf_token error anyone wit clue on how I can fix this -- You received this message because you are subscribed to the Google

how to send to sms to moblie number on one click at time to 25 numbers from django website ,,,,,, please anyone here for guidance

2019-12-17 Thread Jani Eric
how to send to sms to moblie number on one click at time to 25 numbers from django website ,, please anyone here for guidance -- 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

Re: Embed an image in email Django

2019-12-17 Thread Giovanni Natale
The problem with that is that the url of the image does not contain the domain of your website. This is ok when you are using a browser to render a webpage but there is no way for an email client to understand the domain of the url if you do not include it explicitly. So, the image url should

Re: how to send to sms to moblie number on one click at time to 25 numbers from django website ,,,,,, please anyone here for guidance

2019-12-17 Thread Gil Obradors
Hi Jani! First you need a provider able to send SMS via rest-API Second,write some methods codes to talk to this api, python is good. Third, make a frontend, to call this methodos via web. You can start with static content via django templates and requests , for example Good luck! Missatge

Re: manage.py not able to run any commands

2019-12-17 Thread Integr@te System
Hi Phil, Consider other command look like django-admin. https://docs.djangoproject.com/en/3.0/ref/django-admin/ On Tue, Dec 17, 2019, 18:35 Phil Yang wrote: > Hi, > All of a sudden, when I tried to run manage.py runserver, it didn't > produce any output, and it didn't do anything. In fact, the

Re: Django

2019-12-17 Thread Hedrick Godson's
You may use twilio api. Its a 3rd party services. Then make a list of your phone numbers and do loop On Tue, 17 Dec 2019, 15:12 Jani Eric wrote: > how to send sms from django website to mobile number at time 50 + number > on one click please anyone here for guiding me > > -- > You received this

Re: Postman API error

2019-12-17 Thread Parth Joshi
You have to pass the csrf token in the header in postman. Regards, Parth Joshi > On 17-Dec-2019, at 5:54 PM, Tosin Ayoola wrote: > > Hey guys I built an Api with django, generally for sign up, it's meant to b > used for Android app development, but now when trying to sign up wit > pos

Re: how to send to sms to moblie number on one click at time to 25 numbers from django website ,,,,,, please anyone here for guidance

2019-12-17 Thread Parth Joshi
May be you can put a background service instead of doing it asynchronously. Wait time of 25 SMS responses will be annoying for user experience. Regards, Parth Joshi > On 17-Dec-2019, at 7:00 PM, Gil Obradors wrote: > > Hi Jani! > > > First you need a provider able to send SMS via rest-A

Re: invalid syntax in mysite url

2019-12-17 Thread Jorge Gimeno
On Tue, Dec 17, 2019 at 9:09 AM MEGA NATHAN wrote: > Hi. > > syntax error how to clear this one. > > -- > 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

Re: invalid syntax in mysite url

2019-12-17 Thread Parvez Khan Pathan
may be you need to put ',' comma at line 24 after close parenthesis. Try! If not work then Will see more solution. Regards Parvez Khan Pathan (Beginner DJango Enthusiastic) On Tue, 17 Dec 2019, 10:39 pm MEGA NATHAN, wrote: > Hi. > > syntax error how to clear this one. > > -- > You received thi

Re: how to send to sms to moblie number on one click at time to 25 numbers from django website ,,,,,, please anyone here for guidance

2019-12-17 Thread Motaz Hejaze
use twilio On Tue, Dec 17, 2019 at 2:29 PM Jani Eric wrote: > how to send to sms to moblie number on one click at time to 25 numbers > from django website ,, please anyone here for guidance > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: django orm filter queryset is returning empty

2019-12-17 Thread Ahmad Ebrahim
Show me your code. On Tue, 17 Dec 2019, 14:36 vignesh s, wrote: > django orm filter queryset is returning empty queryset and also checked in > the db the data is available > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: field error in live how to reslove

2019-12-17 Thread Ahmad Ebrahim
Show me your model and view On Tue, 17 Dec 2019, 20:11 MEGA NATHAN, wrote: > Hi all. > > field error in live how to reslove > below i have to attach the screensh please find out and let me. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gr

Renaming sequences

2019-12-17 Thread Mike Dewhirst
Are there any consequences for renaming sequences to match the tables which own them? In an existing production Django project I have just converted auth.user into common.user and company.userprofile into common.userprofile. Having gone through the migration process more or less unscathed the

Should a custom user have meta.swappable

2019-12-17 Thread Mike Dewhirst
Looking at django.contrib.auth.models I see ... class User(AbstractUser):     """     Users within the Django authentication system are represented by this     model.     Username and password are required. Other fields are optional.     """     class Meta(AbstractUser.Meta):     swapp

Re: Should a custom user have meta.swappable

2019-12-17 Thread James Bennett
On Tue, Dec 17, 2019 at 10:47 PM Mike Dewhirst wrote: > ... and I wonder if my custom user model should have an identical Meta > attibute? > No, The 'swappable' Meta attribute is private/undocumented API; if it were meant to be a thing you needed to set, the documentation would tell you to set i

Re: Should a custom user have meta.swappable

2019-12-17 Thread Mike Dewhirst
Thank you James M On 18/12/2019 5:57 pm, James Bennett wrote: On Tue, Dec 17, 2019 at 10:47 PM Mike Dewhirst > wrote: ... and I wonder if my custom user model should have an identical Meta attibute? No, The 'swappable' Meta attribute is private/undo