Re: Venv

2019-03-30 Thread Gurmeet Kaur
Go to scripts/activate.bat. it shud activate the ebv On Sat, Mar 30, 2019, 2:32 PM John wrote: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now Ive ‘deactivate’ the venv > > How do I re-activate please? > > 🙏 > > > -- > You recei

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread Gurmeet Kaur
I have done this in my project. We converted the object ( or context object) that you want to pass in list object in python function and then casted it with Json response object. Something like below: myqueryset_new = list(myqueryset1) finalmyqueryset = JsonResponse(myqueryset_new, safe=Fals

Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-06 Thread Gurmeet Kaur
function. Hope this helps and if you need some more info from my end, let me know. thanks, Gurmeet Kaur On Sun, May 5, 2019 at 1:59 AM Mayur Bagul wrote: > hi john, > > thanks for help. > i new to django so i dont know how its work and how its syntax is. until > i found resour

Re: Django framework on Windows OS

2020-03-17 Thread Gurmeet Kaur
Yes, I have my project installed on Windows IIS. Please let us know what issue are you facing. Thanks, Gurmeet Kaur On Tue, Mar 17, 2020 at 9:34 PM chucks ogwo wrote: > Does anyone here use Django on windows? Cos I have been having a series of > errors since I started using Django on W

Implement querystring using Search option + Pagination

2020-04-27 Thread Gurmeet Kaur
when not) + dropdown option from views side? Thanks, Gurmeet Kaur -- 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...@googlegrou

Re: Unable to establish odbc connection to MS SQL Server

2020-04-27 Thread Gurmeet Kaur
Hi There, I have also implemented this in my project. The code in my settings.py is below. You could also try the same. DATABASES = { 'default': { 'ENGINE': 'sql_server.pyodbc', 'NAME': 'MyDbName', 'USER': 'user', 'PASSWORD': 'password', 'HOST': 'DbHost

Re: Re : how to deploy django project on iis windows server

2020-07-03 Thread Gurmeet Kaur
Hi, It shows your static files and folders are not configured in IIS. You can find the whole process step by step at - https://www.mattwoodward.com/2016/07/23/running-a-django-application-on-windows-server-2012-with-iis/ It is very cleanly explained here. On Fri, Jul 3, 2020 at 5:05 PM Avi sha

Re: Required Django Programmer for freelancer

2020-07-08 Thread Gurmeet Kaur
Hi All, I am also interested in this project. Thanks, Gurmeet Kaur On Wed, Jul 8, 2020 at 8:05 AM Ali Murtuza wrote: > Hello I am interested in this project > > On Wed, 8 Jul 2020 at 3:06 PM, vishal sharma wrote: > >> I am interested in this position. I have an ex

Re: Data Science and sql problem

2020-07-26 Thread Gurmeet Kaur
you could try using connection and cursor to connect nd then pandas to read csv using readcsv function On Sun, Jul 26, 2020, 11:59 AM Prashant Singh wrote: > How can i connect database with help of function in jupyter notebook and > then conver data into csv to build model ? > > -- > You receive

Not able to connect to SQL Server 2012 from current version of DJango and Python

2018-08-10 Thread Gurmeet Kaur
run the above code by running python manage.py inspectdb command, it works. But the problem with using django-pyodbc-azure is that it downgrades the current version of django to 2.0.8 version - which I do not want. I do not want to use FreeTDS or Pymssql. I want to go with pyodbc only. Can someone

Re: How to handle database VIEWS in Django

2018-10-11 Thread Gurmeet Kaur
Just code for them in models.py just as a table. And it will work. I have done that in my project. It is working fine. On Thu, Oct 11, 2018, 1:38 AM django_learner wrote: > Hi everyone, > > I am using SQL SERVER and I have some predefines VIEWS in the database, > what I am looking for is to man

Re: Connecting Sql server to Django

2018-10-12 Thread Gurmeet Kaur
I did it in my project. Use pyodbc to connect to sql server and i am using django 2.0.8 On Fri, Oct 12, 2018, 11:04 AM Pradeep Singh wrote: > bro...will you help me ... > i am getting django 404 error ...please tell how to fix it... > i am using python 3.6 + django 1.11 > > On Fri, 12 Oct 2018 a

Re: Connecting Sql server to Django

2018-10-14 Thread Gurmeet Kaur
Can you please share your settings.py file and requirements.txt? On Sun, Oct 14, 2018, 12:51 PM Pradeep Singh wrote: > please help me why i am getting no change detected > > On Sat, 13 Oct 2018 at 01:33, Gurmeet Kaur > wrote: > >> I did it in my project. Use pyodbc to conn

Need help for sql stored proc

2018-10-17 Thread Gurmeet Kaur
Hi all, I have a ms sql stored proc and want to use it. How can I do that? Do I need to write the class just like a view in models.py? Please suggest. Thanks, Gurmeet Kaur -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: Need help for sql stored proc

2018-10-17 Thread Gurmeet Kaur
en/2.1/topics/db/sql/#calling-stored-procedures > > > > > > *From:* django-users@googlegroups.com [mailto: > django-users@googlegroups.com] *On Behalf Of *Gurmeet Kaur > *Sent:* Wednesday, October 17, 2018 11:06 AM > *To:* django-users@googlegroups.com > *Subject:* Need hel

Re:

2020-02-22 Thread Gurmeet Kaur
I also know how to write selenium code in integration with Python. I can help too. Thanks, Gurmeet Kaur On Sat, Feb 22, 2020 at 9:09 AM Suraj Kumar wrote: > Do you know Automation through Python. > I want to learn automation tools. > > Tools like appium, selenium > > -- &