Re: How can I host my application in web hosting?

2019-11-30 Thread Jorge Gimeno
Deb, Digital Ocean will allow you to run what you can install. If you can get it on the server, you can use it. Heroku and Python Anywhere do have specific services that are available. You can check out their documentation to see what they are. I don't know much about AWS, so that I will not

RE: Question

2019-11-30 Thread Allaberdi Yazhanow
No problem)) Sent from Mail for Windows 10 From: kennedy musyoki Sent: Saturday, November 30, 2019 10:15 PM To: django-users@googlegroups.com Subject: Re: Question Thanks, it has worked. On Wed, Nov 27, 2019 at 8:36 AM Allaberdi Yazhanow wrote: If you want to run django Server you have to

Re: Question

2019-11-30 Thread kennedy musyoki
Thanks, it has worked. On Wed, Nov 27, 2019 at 8:36 AM Allaberdi Yazhanow < allaberdi16yazha...@gmail.com> wrote: > If you want to run django Server you have to write command like this ( cd > “location file manage.py “ then ( python manage.py runsever > > Sent from my iPhone > > On Nov 26,

Re: django.db.utils.ProgrammingError: relation "django_content_type" already exists

2019-11-30 Thread Ram
Hi Integr, Thank you for your email. Your mean these steps have to be run again? 4. 'loaddata'command in virtualenv to load the data to Postgress. 5. ~/vkproject/manage.py makemigrations 6. ~/vkproject/manage.py migrate ~Ram On Sat, Nov 30, 2019 at 11:28 AM Integr@te System wrote: > Hi

no such table: main.auth_user__old

2019-11-30 Thread Chetan Rokade
Hi Friends Getting below error while adding new user from admin page. I am using python 3.8 with django 2.1 version Exception Value: no such table: main.auth_user__old -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Which Cloud Service Provider should be chosen to host Django Application

2019-11-30 Thread Debabrata Chakraborty
Thanks a million ke1g! That was really helpful. I am definitely going to use PostgreSQL now. Only one question remains. I'm willing to deploy my site in any reasonably priced virtual server hosting. You mentioned using VPS means I can install what I want. So does that mean - it doesn't

Re: django.db.utils.ProgrammingError: relation "django_content_type" already exists

2019-11-30 Thread Integr@te System
Hi issuer, You do step 4 and step 5 with the same goal!? On Sun, Dec 1, 2019, 00:03 Ram wrote: > Hi, > > I'm blocked with this issue in my newly hosting site. Here is my scenario. > >1. I've working site with MySQL database in our development localhost. >2. I created new hosting

django.db.utils.ProgrammingError: relation "django_content_type" already exists

2019-11-30 Thread Ram
Hi, I'm blocked with this issue in my newly hosting site. Here is my scenario. 1. I've working site with MySQL database in our development localhost. 2. I created new hosting server in Digital Ocean's Ubuntu 18.04 droplet with Postgres db. 3. I tested the server with empty database

Re: Hosting recommendations please

2019-11-30 Thread Integr@te System
Hi Deb, Appropriate answer on service provider, bc of your requirement and their service alway mutability. On Sat, Nov 30, 2019, 21:01 Debabrata Chakraborty wrote: > Hi everyone, > > I'm a beginner Django developer. So my apologies in advance for newbie > like questions. > > I am building my

Re: Which Cloud Service Provider should be chosen to host Django Application

2019-11-30 Thread Bill Freeman
SQLite is fine for development, but, unless things have changed, it is single threaded, and unsuitable for a production environment. Most folks seem to go for MySQL, though the fork MariaDB is usually preferred no that Oracle owns MySQL. I prefer PostgreSQL (or just Postgres) because I think

Re: Update _id field before .save() for ForeignKey

2019-11-30 Thread Dvenum
Thanks, its interest to know more about pk management, but this is another case. Now I update pk for child objects and this is fastest way, what I found. If django will reread .pk before save, it will the same. Want to know, maybe my logic can be altered from the start. How peoples create batch

Re: Hosting recommendations please

2019-11-30 Thread Debabrata Chakraborty
Hi everyone, I'm a beginner Django developer. So my apologies in advance for newbie like questions. I am building my site with *" *Django version 2.2.5 *"* and *" *SQLite 3.30 *" *in back-end. My question is - *#* Do services like "Heroku", "Digital Ocean", "Python Anywhere" and "AWS" -

Re: Which Cloud Service Provider should be chosen to host Django Application

2019-11-30 Thread Debabrata Chakraborty
Hi everyone, I'm a beginner Django developer. So my apologies in advance for newbie like questions. I am building my site with *" *Django version 2.2.5 *"* and *" *SQLite 3.30 *" *in back-end. My question is - *#* Do services like "Heroku", "Digital Ocean", "Python Anywhere" and "AWS" -

Re: How can I host my application in web hosting?

2019-11-30 Thread Debabrata Chakraborty
Hi everyone, I'm a beginner Django developer. So my apologies in advance for newbie like questions. I am building my site with *" *Django version 2.2.5 *"* and *" *SQLite 3.30 *" *in back-end. My question is - *#* Do services like "Heroku", "Digital Ocean", "Python Anywhere" and "AWS" -

Re: Update _id field before .save() for ForeignKey

2019-11-30 Thread Integr@te System
Hi , Please lookandfeel on Moving an object from one database to another¶ https://docs.djangoproject.com/en/2.0/topics/db/multi-db/#moving-an-object-from-one-database-to-another On Sat, Nov

Re: Update _id field before .save() for ForeignKey

2019-11-30 Thread Dvenum
Integr@te System, This is True: id(company) == id(company_value.company) So, we have exact the same object company, .id is ready on .save() call, but internal meta dictionary still has None, because it was none when company_value created. On Sat, Nov 30, 2019 at 2:39 PM Integr@te System wrote: