Re: I cannot run django project on new windows

2020-12-31 Thread Ayser shuhaib
Have you created a new virtual environment using the new python you installed? If not, create a new virtual environment then install the dependencies for your project then try. On Thu, 31 Dec 2020 at 20:15, Tarek elgendy wrote: > I was creating a project using django. And I wanted to change

Re: Exception Type: SuspiciousOperation

2020-12-31 Thread Vishesh Mangla
I deleted the db and ran the migrations again. the actual error is this. https://dpaste.org/7vb3 On Friday, January 1, 2021 at 1:58:17 AM UTC+5:30 Vishesh Mangla wrote: > Hi, I am facing this error and 'm stuck on it from quite a lot of time. > The error logs: https://dpaste.com/AVG628T9N >

Exception Type: SuspiciousOperation

2020-12-31 Thread Vishesh Mangla
Hi, I am facing this error and 'm stuck on it from quite a lot of time. The error logs: https://dpaste.com/AVG628T9N My code: https://dpaste.org/dSMc I have used : https://pypi.org/project/django-postgres-extra/ Any help is appreciated, Thanks -- You received this message because you are

I cannot run django project on new windows

2020-12-31 Thread Tarek elgendy
I was creating a project using django. And I wanted to change the OS from 64 bit to 32 bit. On the new system, I installed a 32-bit version of Python, and when I ran the local server, I got this error: *(venv) C:\Users\titooka\Desktop\django>python manage.py runserver This version of

How to make relationship in django models in such scenario

2020-12-31 Thread Dhruvil Shah
*models.py* So,here i want to make Invoicemgmt model in which i can have multiple entries for Invoice table having customer,project and Invoice_amount. Basically,requirement is that whenever i see 'view_Invoice' of some id,first i will see all data of that specific id on that page and then i want