Re: Static files is not loading while deploying the project to AWS ec2

2022-11-05 Thread Ashutosh Mishra
I had faced same problem but collectstatic worked for me,, On Sat, 5 Nov, 2022, 1:15 pm Nishant Sagar, wrote: > Hi Ashutosh, > > Yeah I tried that as well, still not working. > > On Sat, 5 Nov 2022 at 1:10 PM, Ashutosh Mishra < > ashutoshmishra...@gmail.com> wrote: &g

Re: Static files is not loading while deploying the project to AWS ec2

2022-11-05 Thread Ashutosh Mishra
Did you tried, python manage.py collectstatic? On Sat, 5 Nov, 2022, 1:05 pm Nishant Sagar, wrote: > Hi all, > > I deployed the django project to AWS ec2 instance using nginx and gunicorn > but the static file is not loading at all. > > Can someone suggest where did I do wrong? > > Note - I've

How to access using foreing key

2020-10-30 Thread Ashutosh Mishra
class User(models.Model): name=models.CharField(max_length=50,blank=True,null=True) latitude = models.CharField('Latitude', max_length=30, blank=True, null=True) longitude = models.CharField('Longitude', max_length=30, blank=True, null=True) location = models.PointField(blank=True, null=True)

Re: Fetching data from database

2020-10-28 Thread Ashutosh Mishra
You have go through the django docs, In django request.method.POST is used to inser data And Model.objecs.all() this is the way how you fetch data, You need to study docs On Thu 29 Oct, 2020, 00:13 Kiran Bangde, wrote: > Hi everyone, > > Iam stuck at a point ...I want to fetch a data from a

Re: Diffrence between two

2020-10-28 Thread Ashutosh Mishra
ue if the store_type is > 'Alcohol' or 'Both'. > > Regards, > > Andréas > > Den ons 28 okt. 2020 kl 12:30 skrev Ashutosh Mishra >: > >> for i in grocery: >> if i.store_type=="Alcohol" or "Both":(1) >> if i.store_type=="Alcoh

Diffrence between two

2020-10-28 Thread Ashutosh Mishra
for i in grocery: if i.store_type=="Alcohol" or "Both":(1) if i.store_type=="Alcohol" or i.store_type=="Both":(2) can anyone tell me the diffrence between two statements,I am getting two diffrent results -- You received this message because you are subscribed to the Google Groups "Django

Re: Check this out guys

2020-09-16 Thread Ashutosh Mishra
That's really cool buddy On Wed 16 Sep, 2020, 13:12 712189512, wrote: > Hi guys i have build this *https://connectdjango.com > * platform with django and i want you to check > it out,you can post your questions there and and also post some tutorials > too,let's all

Re: collaborate to do a project for beginners

2020-08-12 Thread Ashutosh Mishra
hlhie i am intrested in doing project add me Ashutosh 9717336958 On Mon, 10 Aug, 2020, 5:12 PM narendra thapa, wrote: > hello everyone,I'm a beginner in django. I want to learn django by > implementing . If their is someone who wants to collaborate to do a project > and learn django please let

Get Personal and maching Horoscope

2020-07-22 Thread Ashutosh Mishra
I want to create api's to get personal horoscope and the matching horoscope by providing date of birth for girl and boy,some one plz guide how can we do this -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Python-django project

2020-07-20 Thread Ashutosh Mishra
interested On Tue, Jul 21, 2020 at 8:40 AM learn code wrote: > Hi everyone, > > I am learning python and django, like to work on the projects to improve > more.If any one interested to join with me to work on the projects,plz send > me a email. > > -- > You received this message because you

Re: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread Ashutosh Mishra
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *Ashutosh Mishra > *Sent: *10 July 2020 18:30 > *To: *Django users > *Subject: *Re: How to get data from django model to excel sheet using > openpyxl including ima

Re: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread Ashutosh Mishra
uot;success": False}, status=status.HTTP_200_OK) On Friday, July 10, 2020 at 5:48:36 PM UTC+5:30 ajoeiam wrote: > On Thu, Jul 9, 2020 at 10:02 PM Ashutosh Mishra > wrote: > >> I am creating an api to get data and images from django model to excel >> sheet ,how can

Re: Not null constraint error when adding a child record .

2020-07-09 Thread Ashutosh Mishra
That is a data base related error,this happens when you have already inserted data to a field of a model then try to manipulate that model again.If you know how to handle database then delete that or,delete this whole database and start again. On Thursday, July 9, 2020 at 3:49:21 PM UTC+5:30

How to get data from django model to excel sheet using openpyxl including images.

2020-07-09 Thread Ashutosh Mishra
I am creating an api to get data and images from django model to excel sheet ,how can i do that,someone please help 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

Re: How to get data from django model to the excel sheet.

2020-07-06 Thread Ashutosh Mishra
But It is for js,react,angular, how can I place that in django project On Jul 6, 2020 1:54 PM, "Damanjeet Singh" wrote: > Please see handsontable.com. > > I have been using it for my project. > > On Mon, Jul 6, 2020 at 9:06 AM Ashutosh Mishra < > ashutoshmishra

Re: How to get data from django model to the excel sheet.

2020-07-06 Thread Ashutosh Mishra
What if I have an image field too,how to do that -- 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

How to get data from django model to the excel sheet.

2020-07-06 Thread Ashutosh Mishra
I want to get the data from the django model contans(name,age,photo) on a excel sheet. How can i do that. -- 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

Unable to export images from django model to excel sheet

2020-07-04 Thread Ashutosh Mishra
I have posted on stack overflow.I want export images from django model to excel sheet.while doing I am just getting the root media address on excel sheet not image. Please help ,it's urgent.