Re: databases

2023-12-07 Thread Swarup Selvaraj
Hi Karim, I understand you are interested in transferring your data into a newly provisioned database You could use django's built in - dumpdata to export a json - loaddata

Re: databases

2023-12-01 Thread Dawda Borje Kujabi
Well you can depending on your databases, what kinda dtatbase do you have? On Friday, December 1, 2023 at 2:23:00 PM UTC Karim Dahman wrote: > Hi, > how can create python script in terminal to update the data from old > databases into new databases automaticaly > -- You received this message

Re: databases

2023-12-01 Thread Dawda Borje Kujabi
Well yes you can dependong on your databases. What kind of databases do you have? On Friday, December 1, 2023 at 2:43:20 PM UTC Madhusudhan Reddy wrote: > Bro please explain the scenario and the problem. > Nobody will not give proper answer until you proper details. > > On Fri, 1 Dec 2023 at 7

Re: databases

2023-12-01 Thread Madhusudhan Reddy
Bro please explain the scenario and the problem. Nobody will not give proper answer until you proper details. On Fri, 1 Dec 2023 at 7:52 PM, Karim Dahman wrote: > Hi, > how can create python script in terminal to update the data from old > databases into new databases automaticaly > > -- > You r

Re: Databases configuration

2018-12-07 Thread Daniel M
I think the problem is the server. Try pip install mysqlserver then start the server. On Dec 7, 2018 17:27, "Chuck R" wrote: > Hi, if you're using python venv, try install mysqlclient(pip install > mysqlclient) and rerun the local server. > > On Thu, Dec 6, 2018, 9:38 AM C. Kirby >> Did you sta

Re: Databases configuration

2018-12-07 Thread Chuck R
Hi, if you're using python venv, try install mysqlclient(pip install mysqlclient) and rerun the local server. On Thu, Dec 6, 2018, 9:38 AM C. Kirby Did you start your mysql process? > > On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: >> >> Hi everyone, >> >> I am new to Djang

Re: Databases configuration

2018-12-07 Thread Kasper Laudrup
Hi Cool Smith, On 12/7/18 10:11 AM, Cool Smith wrote: I tried starting MYSQL server on System Preferences. However, it seems the server will shutdown automatically a few seconds later. You would probably have a better chance of getting useful responses if you posted your question in a forum

Re: Databases configuration

2018-12-07 Thread Cool Smith
I tried starting MYSQL server on System Preferences. However, it seems the server will shutdown automatically a few seconds later. On Friday, December 7, 2018 at 8:09:28 PM UTC+11, Cool Smith wrote: > > How to do so? > > On Friday, December 7, 2018 at 1:38:09 AM UTC+11, C. Kirby wrote: >> >> Did

Re: Databases configuration

2018-12-07 Thread Cool Smith
How to do so? On Friday, December 7, 2018 at 1:38:09 AM UTC+11, C. Kirby wrote: > > Did you start your mysql process? > > On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: >> >> Hi everyone, >> >> I am new to Django. I have started a new project running on my localhost. >> Rath

Re: Databases configuration

2018-12-06 Thread Arnaldo Díaz Molina
Did you have installed the mysql driver??? Is your host localhost??? Did you have your mysql service started??? 2018-12-06 15:38 GMT+01:00, C. Kirby : > Did you start your mysql process? > > On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: >> >> Hi everyone, >> >> I am new to D

Re: Databases configuration

2018-12-06 Thread C. Kirby
Did you start your mysql process? On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: > > Hi everyone, > > I am new to Django. I have started a new project running on my localhost. > Rather than using the default sqlite database, I changed it to mysql with > the following settin

Re: Databases

2012-04-28 Thread Shawn Milochik
Assuming your PYTHONPATH is set up properly, and your DJANGO_SETTINGS_MODULE is correct or you import your settings file from your crawler, then you can just import and use the models. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: Databases, one or many

2007-09-06 Thread James Bennett
On 9/6/07, Adam Jenkins <[EMAIL PROTECTED]> wrote: > This actually brings up an issue. I've heard that many Django developers > don't > use projects at all, that they just use apps. Is this correct? Should I > default to one > project and break it up into smaller ones if the need arises? First of

Re: Databases, one or many

2007-09-06 Thread Brian Morton
Possibly. I have never heard of this and I do not do it. If I were just making random applications for distribution to others I might consider it, but most of the time I am making an application for a specific purpose or organization/company. In that case, I create a project for the org/company

Re: Databases, one or many

2007-09-06 Thread Adam Jenkins
On 9/6/07, Brian Morton <[EMAIL PROTECTED]> wrote: > > > Well, by its nature, each Django project has its own DB. Multi-db > support is coming soon, but not in trunk yet. > > If these are all applications that belong to the same project, Django > is not designed to handle them on a per-DB basis.

Re: Databases, one or many

2007-09-06 Thread Brian Morton
Well, by its nature, each Django project has its own DB. Multi-db support is coming soon, but not in trunk yet. If these are all applications that belong to the same project, Django is not designed to handle them on a per-DB basis. The convention Django uses is a DB for the project and _ for th