AutoField & auto-incrementing

2020-02-11 Thread Bruckner de Villiers
Jason, Thank you.  I have changed the title of this mail.  If I have read the 10 year old ticket 8576 correctly, it seems to be a DB restriction and I imagine that there are good reasons for this.  However, then I don’t understand the purpose of the AutoField given the restrictions and that the

Re: Django server is slow after moving database to remote VM

2020-02-11 Thread Simen Russnes
Yes, I'm able to get speeds of at least 1500KB/sec between the two, but it only really happens when I do large queries like mysqldump for example. Most of the time it's at around 300KB/s or less. On 2/10/20 4:36 PM, Jody Fitzpatrick wrote: Are the VM's within the same network/hosting company? O

More than 3 modelforms in inlineformsets

2020-02-11 Thread Zameer Ahmed
Hi, I have a situation where I need to have more than 3 nested forms for a model with Foreignkey with child models. Can someone please point me in the right direction because I've been trying this from last couple of days now. I can make it work with 1 parent and 2-3 child but not further than that

Invalid Literal for int() with base10 error

2020-02-11 Thread Santhosh sridhar
I have a model called Project, class Project(models.Model): name = models.CharField(max_length=50, unique=True) technology = models.ForeignKey(Technology, related_name='projects',on_delete=models.CASCADE) chipName = models.CharField(max_length=50) is_swarm = models.NullBooleanFi

Re: installation of django

2020-02-11 Thread Irfan Khan
Are you getting any error messages? On Tue, 11 Feb 2020 at 9:43 PM, paarull shukla wrote: > heloo guys i m not able to install django please help me it .i m facing > issue last 10 days . i m getting collecting django after tht installation > not started > > -- > You received this message because

Re: installation of django

2020-02-11 Thread paarull shukla
No. Not an error but getting collecting django. After that installation didn't start On Tue, 11 Feb, 2020, 9:49 PM Irfan Khan, wrote: > Are you getting any error messages? > > On Tue, 11 Feb 2020 at 9:43 PM, paarull shukla < > shukla.paarull...@gmail.com> wrote: > >> heloo guys i m not able to i

Re: installation of django

2020-02-11 Thread paarull shukla
Please help me out. I m trying to install last 4 days back.. On Tue, 11 Feb, 2020, 9:51 PM paarull shukla, wrote: > No. Not an error but getting collecting django. After that installation > didn't start > > On Tue, 11 Feb, 2020, 9:49 PM Irfan Khan, wrote: > >> Are you getting any error messages

Re: installation of django

2020-02-11 Thread Naveen Vadavalasa
Try reinstalling python and check if u have proper internet connection. On Tue, 11 Feb, 2020, 9:53 PM paarull shukla, wrote: > Please help me out. I m trying to install last 4 days back.. > > On Tue, 11 Feb, 2020, 9:51 PM paarull shukla, > wrote: > >> No. Not an error but getting collecting dja

Re: installation of django

2020-02-11 Thread Gregory Vaks
I would try to open new terminal and see if you somehow already have django. If not try that pip command again - it should work fine but it may have to do with your internet connection...I would try to make sure you have a stable connection. On Tuesday, February 11, 2020 at 11:24:26 AM UTC-5,

Re: installation of django

2020-02-11 Thread paarull shukla
Sir. I already reinstal python 7 times. But getting same error again and again. Connection is fine sir On Tue, 11 Feb, 2020, 9:58 PM Gregory Vaks, wrote: > I would try to open new terminal and see if you somehow already have > django. > > If not try that pip command again - it should work fine b

Re: installation of django

2020-02-11 Thread paarull shukla
Internet connection is fine... On Tue, 11 Feb, 2020, 10:00 PM paarull shukla, wrote: > Sir. I already reinstal python 7 times. But getting same error again and > again. Connection is fine sir > > On Tue, 11 Feb, 2020, 9:58 PM Gregory Vaks, wrote: > >> I would try to open new terminal and see if

Re: installation of django

2020-02-11 Thread Desh Deepak
Hi, If you unable install django till now, you can connect your computer with my computer then i can solve the problem easily. Or call on +91 7011101001 for more information. Thank & regards Desh Deepak +91 7011101001 On Tue, 11 Feb 2020, 21:58 Gregory Vaks, wrote: > I would try to open ne

Re: installation of django

2020-02-11 Thread Mohammed Alnajdi
it might be blocked by your antivirus. example i have kaspersky. it block any pip try to install. On Tue, Feb 11, 2020 at 7:35 PM Desh Deepak wrote: > Hi, > > > If you unable install django till now, you can connect your computer with > my computer then i can solve the problem easily. > > Or cal

Re: installation of django

2020-02-11 Thread paarull shukla
Sure I m just waiting for power.. After tht I m connecting.. Please can u wait for some time On Tue, 11 Feb, 2020, 10:05 PM Desh Deepak, wrote: > Hi, > > > If you unable install django till now, you can connect your computer with > my computer then i can solve the problem easily. > > Or call on

Re: installation of django

2020-02-11 Thread Jatin Agrawal
you must first create a virtual environment and activate it and then install django in that virtual environment. search for how to create a virtual environment for django projects on the internet. On Tue, Feb 11, 2020 at 9:43 PM paarull shukla wrote: > heloo guys i m not able to install django p

Re: installation of django

2020-02-11 Thread Jatin Agrawal
read the django documentation for installing it. https://docs.djangoproject.com/en/3.0/topics/install/ On Tue, Feb 11, 2020 at 9:51 PM paarull shukla wrote: > No. Not an error but getting collecting django. After that installation > didn't start > > On Tue, 11 Feb, 2020, 9:49 PM Irfan Khan, wr

Re: installation of django

2020-02-11 Thread Jatin Agrawal
you can install some different version of django also instead of 3.0 On Tue, Feb 11, 2020 at 9:53 PM Jatin Agrawal wrote: > read the django documentation for installing it. > > https://docs.djangoproject.com/en/3.0/topics/install/ > > On Tue, Feb 11, 2020 at 9:51 PM paarull shukla < > shukla.paa

Re: Invalid Literal for int() with base10 error

2020-02-11 Thread Sunil H N
Hi Santhosh, The error is not coming in Projects.objects.all(). The error is occurring when you trying to convert some value to by int() but that value is not able to convert to int. Please check your logic once. Regards, Sunil H N sunil.kann...@gmail.com -sent

Re: installation of django

2020-02-11 Thread Jatin Agrawal
you must first create a virtual environment and activate it and then install django in that virtual environment. search for how to create a virtual environment for django projects on the internet. On Tuesday, February 11, 2020 at 9:44:28 PM UTC+5:30, paarull shukla wrote: > > heloo guys i m not

Re: installation of django

2020-02-11 Thread Jatin Agrawal
https://www.codingforentrepreneurs.com/blog/install-python-django-on-windows visit thig website and try to follow the instructions given on it. On Tuesday, February 11, 2020 at 9:44:28 PM UTC+5:30, paarull shukla wrote: > > heloo guys i m not able to install django please help me it .i m facing

Re: installation of django

2020-02-11 Thread JEGATHEESWARAN SUNDARAVADIVEL
Upgrade your pip version On Tue, 11 Feb 2020 at 21:44, paarull shukla wrote: > heloo guys i m not able to install django please help me it .i m facing > issue last 10 days . i m getting collecting django after tht installation > not started > > -- > You received this message because you are subs

Re: installation of django

2020-02-11 Thread paarull shukla
Ok dear thnks On Tue, 11 Feb, 2020, 10:24 PM Jatin Agrawal, wrote: > you must first create a virtual environment and activate it and then > install django in that virtual environment. search for how to create a > virtual environment for django projects on the internet. > > On Tue, Feb 11, 2020 a

Re: installation of django

2020-02-11 Thread paarull shukla
Ya rht I already did. 3.7.3 . I installed 3 to 4 version and in everyone I m facing same problem On Tue, 11 Feb, 2020, 10:24 PM Jatin Agrawal, wrote: > you can install some different version of django also instead of 3.0 > > On Tue, Feb 11, 2020 at 9:53 PM Jatin Agrawal > wrote: > >> read the d

Memcache

2020-02-11 Thread Soumen Khatua
Hi Folks, Actually I want to implement memcache service into my project but I don't know How to implement it with proper scalability. If anyone have any idea or code snippet, please share with me. Thank you Regards, Soumen -- You received this message because you are subscribed to the Google Gr

Re: Django server is slow after moving database to remote VM

2020-02-11 Thread Michael Thomas
1500kbps is horrendously slow too, really.. If you're seeing a significant difference between small transfers vs large, you might be stumbling into an incorrect MTU size for the network. This has popped up a little more often in recent years with the rise of vxlans over public connections. If

Re: installation of django

2020-02-11 Thread Shainny Martinez
Hello! In this direction you can find what you are looking for: https://tutorial.djangogirls.org/es/django_installation/ El mar., 11 de feb. de 2020 12:54 PM, Jatin Agrawal escribió: > you must first create a virtual environment and activate it and then > install django in that virtual environme

installation of django

2020-02-11 Thread Naynesh Rathod
Check system environment veriable -- 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

Re: AutoField & auto-incrementing

2020-02-11 Thread Mike Dewhirst
On 11/02/2020 7:06 pm, Bruckner de Villiers wrote: Jason, Thank you.  I have changed the title of this mail.  If I have read the 10 year old ticket 8576 correctly, it seems to be a DB restriction and I imagine that there are good reasons for this.  However, then I don’t understand the purpos

Re: installation of django

2020-02-11 Thread Shubham Mishra
pip3 install Django On Tue, Feb 11, 2020, 21:43 paarull shukla wrote: > heloo guys i m not able to install django please help me it .i m facing > issue last 10 days . i m getting collecting django after tht installation > not started > > -- > You received this message because you are subscribed

Re: installation of django

2020-02-11 Thread HyTech Innovating with technology
Try pip install django==2.1.7 On Tue, Feb 11, 2020, 17:13 paarull shukla wrote: > heloo guys i m not able to install django please help me it .i m facing > issue last 10 days . i m getting collecting django after tht installation > not started > > -- > You received this message because you are s

Re: AutoField & auto-incrementing

2020-02-11 Thread Bruckner de Villiers
Jason, I cracked the uuid option – what an ugly ticket no.!!! - 0273051c-af54-4baf-91b9-651701d9020c Bruckner de Villiers 083 625 1086 From: Bruckner de Villiers Date: Tuesday, 11 February 2020 at 10:06 To: Subject: AutoField & auto-incrementing Jason, Thank you. I have changed t

Re: AutoField & auto-incrementing

2020-02-11 Thread Bruckner de Villiers
Mike, Clever. The save function seems to write a string of the id. So, self.formulation_no = "50-" + str(self.id) could also work? Bruckner de Villiers +27 83 625 1086 On 2020/02/12, 00:27, "Mike Dewhirst" wrote: On 11/02/2020 7:06 pm, Bruckner de Villiers wrote: > > Jason,

Re: installation of django

2020-02-11 Thread Mehul Anshumali
Try install virtual environment and in that install django. You can search - setup Virtual environment and install django . On Tue, Feb 11, 2020, 9:43 PM paarull shukla wrote: > heloo guys i m not able to install django please help me it .i m facing > issue last 10 days . i m getting collecting

Re: installation of django

2020-02-11 Thread paarull shukla
Ok so virtual environment I have to search in cmd or like google On Wed, 12 Feb, 2020, 12:50 PM Mehul Anshumali, wrote: > Try install virtual environment and in that install django. > You can search - setup Virtual environment and install django . > > On Tue, Feb 11, 2020, 9:43 PM paarull shukl

Re: installation of django

2020-02-11 Thread Nur Mohsin
Hi, follow this official documentation. https://docs.djangoproject.com/en/3.0/howto/windows/ let me know if you don't understand any part. On Wed, Feb 12, 2020 at 1:31 PM paarull shukla wrote: > Ok so virtual environment I have to search in cmd or like google > > On Wed, 12 Feb, 2020, 12:50 P

Re: AutoField & auto-incrementing

2020-02-11 Thread Mike Dewhirst
On 12/02/2020 6:11 pm, Bruckner de Villiers wrote: Mike, Clever. The save function seems to write a string of the id. So, self.formulation_no = "50-" + str(self.id) could also work? Fact is you can do anything you like. Instead of what I showed you could call any method you care to write ei