Re: unable Integrating Djongo 1.3.1 with django 2.2.10

2020-03-28 Thread VenkataSivaRamiReddy
hi bro, I need help regrading Django rest framework with Monogod, please
reply ASAP

On Fri, Mar 20, 2020 at 2:05 AM Eswar Subramanyam <
eswar.subraman...@gmail.com> wrote:

> Hi
>
> I opted for Djongo to take advantage of Django ORM with MongoDB..
>
> but while starting the server, i get the following error
>
> AppData\Roaming\Python\Python38\site-packages\django\db\utils.py", line
> 121, in load_backend
> raise ImproperlyConfigured(
> django.core.exceptions.ImproperlyConfigured: 'djongo' isn't an available
> database backend.
> Try using 'django.db.backends.XXX', where XXX is one of:
> 'mysql', 'oracle', 'postgresql', 'sqlite3'
>
>
> I have lost a lot of time trying to figure out, and came to a conclusion
> that i cant use ORM on Mongo DB.
>
> Have someone got a clue on what going wrong ?
>
> I dump also all the installed packages
>
> Thanks for your help/
>
> Package   Version
> - --
> asgiref   3.2.5
> bson  0.5.8
> certifi   2019.11.28
> chardet   3.0.4
> dataclasses   0.6
> Django2.2.11
> django-menu-generator 1.0.4
> djongo1.3.1
> idna  2.9
> mongoengine   0.19.1
> pip   20.0.2
> pymango   0.1.1
> pymongo   3.10.1
> python-dateutil   2.8.1
> pytz  2019.3
> requests  2.23.0
> setuptools41.2.0
> six   1.14.0
> sqlparse  0.2.4
> urllib3   1.25.8
>
> --
> 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/6b10fe72-f834-4eb2-86e9-0595031e4b4a%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/CAGiJVX1PHkJ8mD7Fb%3D3Nv1sZveK_EfZOeu2MOiQ_QQQ3Lmy4fQ%40mail.gmail.com.


Re: How to Setup DjangoRestFrameWork with Mongo DB

2020-03-28 Thread VenkataSivaRamiReddy
i tried but not getting

-- 
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/CAGiJVX02pxupk5p1%2B%2Br393icjT9VgtpPLqRCxK-1AV1oo9BfvQ%40mail.gmail.com.


Re: ""Save" method throws duplicate key value violates unique constraint

2020-04-06 Thread VenkataSivaRamiReddy
Use in place of one to one model field place foreign key field

On Tue, Apr 7, 2020, 05:15 Menaga Gopal  wrote:

>
>
>
>
> Hello,
>
> I have 2 tables:
>
> 1) CustomUser table
>  - Id
>  - Email
>  - Name
>
> 2) UserProperties table
>  - id
>  - user (foreign key with one to one relationship)
>  - address
>  - payment_details
>
>
>   -  have mapped one to one relationship for the field "user" in the
> UserProperties table as below.
>
> user = models.OneToOneField(CustomUser, on_delete= models.CASCADE)
>
>   - Below is my view.py. When I try to save the user profile, the data is
> saved for the very first time (ie., when there is no such record for the
> user in the Userproperties table. However when I try to update the same
> user profile I get Integrity error.
>
> IntegrityError at /users/profile
>
> duplicate key value violates unique constraint 
> "users_userproperties_user_id_key"
> DETAIL:  Key (user_id)=(4) already exists.
>
>
>
> @login_required
> def profile(request):
> if request.method == 'POST':
> profile_form = UserProfileForm(request.POST)
> if profile_form.is_valid():
> profile = profile_form.save(commit=False)
> profile.user = request.user
> profile.save()
> messages.success(request, f'Your Profile has been updated.')
> return redirect('profile')
> else:
> profile_form = UserProfileForm()
> return render(request,'profile.html',{'profile_form': profile_form})
>
> I am new to django, please help me solve this issue.
>
>
> 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/580f2a57-eda2-49f9-b42c-b9885ffd82f8%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/CAGiJVX0JbkDzk_M1fMgRntmw7%2Bkz%3D2X_%3D4Ts%2BgNm46oqoduooA%40mail.gmail.com.


Re: Looking for Django developers to work on a new and an existing project with our team

2020-04-06 Thread VenkataSivaRamiReddy
Hi,

I am interested on this project, I hope I am the right person to you and i
hope you get back to me soon.thank you sir

On Sun, Mar 29, 2020, 23:26 Lax Nayak  wrote:

> I am looking for a django developer who has expertise in building
> enterprise grade solutions.
>
>
> --
> 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/f93f06b0-883c-4477-9d73-cc429a43380d%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/CAGiJVX1j3feRh3s-H5LX3YrY2GOX%2BxkSmS_s%2Bzmi6x%2BvpoXFnw%40mail.gmail.com.


Re: Web/Mobile Push Notifications For Django

2020-04-06 Thread VenkataSivaRamiReddy
I hope this one help to you.
https://github.com/jazzband/django-push-notifications/blob/master/README.rst

One you done, please le me know

On Tue, Apr 7, 2020, 01:57 Kayode Oladipo  wrote:

> Hello everyone,
>
> I currently have a need to add push notifications to a website powered by
> Django.
> How would I go about this?
>
> I'll appreciate any help.
>
> Thanks.
>
> --
> 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%2BARzD9%3DfsgtkJk5QONaMX1tzf%3DXtTJTGf%2Babu7%2BiaSDGshqpQ%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/CAGiJVX3Pd%2Bcd%3DMTcdMRkvc9XGAHKdpev21ARqjjxDgy1VGXOkw%40mail.gmail.com.


Re: hosting django app on app engine

2020-04-22 Thread VenkataSivaRamiReddy
Hi can you share any reference link. I am looking for deploy my djanago
application but I don't know how to deploy

On Wed, Apr 22, 2020, 18:44 Anirudh choudhary 
wrote:

> hi to all! I am hosting my blogging app on google app engine in a standard
> environment. the website deploys successfully. but when I try to go to any
> other URL like anirudhmalik.in to anirudhmalik/blog/list/ it shows me 500
> server error on the server side I am using PostgreSQL instance and the logs
> message only show me the error
> projects/anirudhmalik-274008/logs/appengine.googleapis.com%2Frequest_log"
>
> but I couldn't get any hint from this message and none of the post
> requests is
> working on the website and everything is working fine in a local server or
> my local machine
>
> you can check the website on anirudhmalik.in
>
> and you can also give suggestion is google app engine is good to host your
> Django project
> and other cheap college student type hosting service
> thankyou
>
>
> main.py
>
> from annyportfolio.wsgi import application
>
> app=application
>
> app.yaml file
>
> runtime: python37
>
> handlers:
> # This configures Google App Engine to serve the files in the app's static
> # directory.
> - url: /static
> static_dir: static-storage/
>
>
> # This handler routes all requests not caught above to your main app. It is
> # required when static routes are defined, but can be omitted (along with
> # the entire handlers section) when there are no static files defined.
>
> - url: /.*
> secure: always
> redirect_http_response_code: 301
> script: auto
>
>
>
> env_variables:
> DJANGO_SETTINGS_MODULE: annyportfolio.settings
>
>
>
> --
> 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/CAL8_rkG8qwM491qCcX18qgukA_ao4_ZjH8%2B-K01m17vOTcTTNw%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/CAGiJVX3tOsLwGxuvU_TXCPhb0-xZej8xm8SB4KnDdqEZgsZSQQ%40mail.gmail.com.


Re: "detail": "CSRF Failed: Referer checking failed - no Referer."

2020-04-30 Thread VenkataSivaRamiReddy
Send the url let me check

On Thu, Apr 30, 2020, 18:49 shreehari Vaasistha L 
wrote:

> Also csrf exempt is not making any difference
>
> On Thursday, April 30, 2020 at 6:48:36 PM UTC+5:30, shreehari Vaasistha L
> wrote:
>>
>> hello
>> i have deployed django app on aws .
>> with https im getting error "detail": "CSRF Failed: Referer checking
>> failed - no Referer." . But with http everything works fine.
>>
>> Thank you
>>
> --
> 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/277d9146-e450-433a-8add-d675a5411bd4%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/CAGiJVX2%3DA7P-LLVrvgHo23V7AViyG_%3DVbmJfYWX2%3DagfJc9QWQ%40mail.gmail.com.


Re: Trying to send mails from website

2020-05-01 Thread VenkataSivaRamiReddy
Don't use function names like that _

On Fri, May 1, 2020, 20:03 Divash Singh  wrote:

> Hi guys,
>
>
>
> I am using Celery and Eventlet to facilitate a task which sends emails.  I
> am using the following code:
>
>
>
> @task
>
> def order_created(order_id):
>
> """
>
> Task to send an e-mail notification when an order is
>
> successfully created.
>
> """
>
> order = Order.objects.get(id=order_id)
>
> subject = 'Order nr. {}'.format(order.id)
>
> message = 'Dear {},\n\nYou have successfully placed an order.\
>
> Your order id is {}.'.format(order.first_name,
>
>  order.id)
>
> mail_sent =
> send_mail(subject,message,settings.EMAIL_HOST_USER,[order.email],fail_silently=False)
>
>
>
>
>
> return mail_sent
>
>
>
> I get the following error
>
>
>
> TypeError: wrap_socket() got an unexpected keyword argument '_context'
>
>
>
> Can anyone assist?
>
> I am using Python 3.8
>
> Celery 4.4.2
>
> Eventlet 0.25.2
>
> Django 2.2.12
>
>
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>
> --
> 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/5eac332b.1c69fb81.a319b.4b21%40mx.google.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/CAGiJVX0pVKLfSkPpb%2BYA-UYkoSeJ9kKsWi4qjkOoVGiHD63QkA%40mail.gmail.com.


Re: Regarding opening Google docs

2020-05-25 Thread VenkataSivaRamiReddy
Use iframe or object tag in template...

On Tue, May 26, 2020, 07:58 akshay bardiya 
wrote:

> I want to create a button on a webpage . After clicking on that button it
> should redirect to open Google docs where we can create, update ,delete
> document so how can I do this
>
> --
> 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/a871bd76-d08a-46a0-96cc-5de549692d37%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/CAGiJVX3o-LCtJ9fO2OfFGQVgbVxfEmsF_5vVH0%3DZis8jVZ%3DU%3Dw%40mail.gmail.com.


Re: Regarding redering data in html templates

2020-05-27 Thread VenkataSivaRamiReddy
You got solution for your query?

On Wed, May 27, 2020, 14:52 Ifeanyi Chielo 
wrote:

> at the html file of your template folder, use something like
> {{table1.skin_care1}}
> {{table1.skin_care2}} etc
>
> note skin_care1, skin_care etc are fields in your model table 'table1'
>
> Dr. Chielo C. Ifeanyi
> Chief Programmer,
> Head Webometrics Section
> ICT Unit, UNN
> 08032366433, 08154804230
> ifeanyi.chi...@unn.edu.ng
> http://www.unn.edu.ng/users/ifeanyichielo 
>
>
>
> On Mon, May 25, 2020 at 4:05 PM Karthiki Chowdary <
> karthichowdary...@gmail.com> wrote:
>
>> Hi i was beginner in django and i have a small query in templates.
>> For suppose in the home page of any client browser if we have a button
>> like SKINCARE or HEALTH CARE and if we click on that buttons we need to get
>> the data of all skin care products companies logos/ health care companies
>> logos. For that how i can render data in dictionaries suppose i want to
>> render a static data how can i or i want or render a dynamic data how can i
>> do that with dictionaries so other better option. Please help me out in this
>>
>> --
>> 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/f2306e60-f48f-4e47-959c-763e9659182b%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/CAOcS8H17YqSsVUpHor0%2BWSeq_WJvP5z3Gac33ZPTJD47ScG92g%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/CAGiJVX0jiiu%3DTzyvikU5MLxxS8ESZX4c6Bj7Yn%2B%3DGu8%2Bn6z8ZQ%40mail.gmail.com.


Re: how to Setup django helpdesk package to Django application - Please help

2020-06-20 Thread VenkataSivaRamiReddy
is there any details setup documentation?, i followed
https://github.com/django-helpdesk/django-helpdesk and clone the code and
created and activated virtual environment and after i run python setup.py
install. After i am trying to start python manage.py makemigrations, but
showing file not found

On Sat, Jun 20, 2020 at 4:39 PM o1bigtenor  wrote:

> On Sat, Jun 20, 2020 at 5:09 AM venna venkatReddy
>  wrote:
> >
> > i need to setup support ticket feature to my client application. i found
> django helpdesk package but i try to setup but til now i dont complete, if
> any of you worked this Support Ticket system please help me. thanks
> >
> Greetings
>
> I can't help you in setting up your 'support ticket system' but I do
> have some help for you.
>
> The way you are describing your problem - - - - well that is also a
> problem.
> What doesn't complete?
> What is your setup ((software please) with version numbers would be of
> great assistance)?
> What were you trying to do?
> What are your error messages? Or did you get any such?
> (There are likely more questions but those I'll leave to those that do
> know something - - - not me!)
>
> If you answer those questions in your question - - - - I'd bet that
> you would be much more likely to get help AND that that help would be
> useful.
> I'm following here to learn but I've found much activity and a lot of
> assistance given - - - it seems quite a generous community.
>
> Asking for help with a vague question - - - - -well you're really not
> helping yourself that way!
>
> HTH
>
> --
> 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/CAPpdf59vvvZ_dbQbPE9AJo%2BAo5rY1m4%3DGqcq7_UjSN5S16ratQ%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/CAGiJVX2%2BZbAEN7N9z62ndXpefGMEcL3zCOaNSRKABPMy2EXhGw%40mail.gmail.com.


Re: Bug tracking system

2020-07-10 Thread VenkataSivaRamiReddy
You want to perform support ticket system ..

On Fri, Jul 10, 2020, 20:21 John McClain  wrote:

> Hello,
>
> You could use this for a skeleton I created. Not perfect but a head start
>
> https://decoder-cookbook.herokuapp.com/
>
> https://github.com/Jmcclain0129/decoder_cookbook
>
> cheers
>
> On Fri, 10 Jul 2020 at 14:37, Anupriya Nishad 
> wrote:
>
>> Can anyone guide me on how to create a bug tracking system?
>> 1. Allows create account login logout
>> 2. Allows u to create tickets, edit and delete them
>>
>> --
>> 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/CAGcPrqSyyXVfccVeBO_HJ42uy-wQJoCg0sjNSZON0XtbNQi2pg%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_qwoAxBCRT_nYCoKCt%2B3oZRYQVrk_xkt6U%3D96YQioNYEw%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/CAGiJVX2uxXvdmF9u_7ioZorb8%3DLefz6K6kzVdLHhWyY3Eayk%3DA%40mail.gmail.com.


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

2020-07-10 Thread VenkataSivaRamiReddy
Hi man,

Have you tried *xlsxwditer* package.

If not please check

On Fri, Jul 10, 2020, 19:23 Ashutosh Mishra 
wrote:

> I am doing that using openpyxl
> But not getting the image in excel sheet
>
>
> https://stackoverflow.com/questions/62695531/cannot-convert-fieldfile-jpg-to-excel-django
>
> See this
>
> On Fri, Jul 10, 2020, 7:15 PM Vishesh Mangla 
> wrote:
>
>> Api’s are better suited for Django rest framework.
>>
>>
>>
>> Sent from Mail  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 images.
>>
>>
>>
>> i have created an api through which i can download the excel file with
>> all fields except images.I am posting my models and views
>>
>>
>>
>> models.py
>>
>>
>>
>> class Task(models.Model):
>>
>>
>>
>> Id=models.IntegerField()
>>
>> Name=models.CharField(max_length=50,null=False,blank=True)
>>
>> Image1=models.FileField(blank=True, default="",
>>
>> upload_to="media/images",null=True)
>>
>> Image2=models.FileField(blank=True, default="",
>>
>> upload_to="media/images",null=True)
>>
>> Date=models.DateField(null=True,blank=True)
>>
>> def __str__(self):
>>
>> return str(self.Name)
>>
>>
>>
>> views.py
>>
>> class TaskViewSet(viewsets.ViewSet):
>>
>>
>>
>> def list(self,request):
>>
>> try:
>>
>> queryset=Task.objects.all()
>>
>> response = HttpResponse(content_type='application/ms-excel')
>>
>> #response=HttpResponse(content_type='application/ms-excel')
>>
>>
>>
>> #response['Content-Disposition'] = 'attachment; filename="users.xls'
>>
>> response['Content-Disposition']='attachment; filename="users.xls"'
>>
>>
>>
>> wb=openpyxl.Workbook()
>>
>> ws=wb.active
>>
>>
>>
>> row_num=0
>>
>> columns=['Id','Name','Image1','Image2','Date']
>>
>>
>>
>> for col_num in range(len(columns)):
>>
>> c = ws.cell(row=row_num + 1, column=col_num + 1)
>>
>> c.value = columns[col_num]
>>
>> for obj in queryset:
>>
>> row_num+=1
>>
>> row = [
>>
>> obj.Id,
>>
>> obj.Name,
>>
>> obj.Image1.url,
>>
>> obj.Image2.url,
>>
>> str(obj.Date),
>>
>> ]
>>
>> print(type(row))
>>
>>
>>
>> for col_num in range(len(row)):
>>
>> c = ws.cell(row=row_num + 1, column=col_num + 1)
>>
>> c.value = row[col_num]
>>
>>
>>
>> wb.save(response)
>>
>> return response
>>
>> except Exception as error:
>>
>> traceback.print_exc()
>>
>> return Response({"message": str(error), "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 i do that,someone please help me.
>>
>>
>>
>> What have you tried so far?
>>
>>
>>
>> Regards
>>
>> --
>> 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/c1092b58-9d91-4d9c-8654-54df883c5172n%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/80F9CD37-925E-4CB1-A03D-743C8F10EDB4%40hxcore.ol
>> 
>> .
>>
> --
> 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/CAGDmY67kWhDN1bn%2BWtTcLxCj-QfmzG2F77b-2Hpbo9ouths1Gg%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/CAGiJVX0HsA0tKenVKbAaTDwb5TxR0umHPogUUnAH%3DU94GUumjA%40mail.gmail.com.