Re: Database migration issue

2020-04-12 Thread wanbao jin
Ok, I figure it out, When application configuration class is used in INSTALLED_APPS, the name field of AppConfig subclass should be the path of that application. AppConfig.name¶ > > Full > Python path to the applic

Re: Database migration issue

2020-04-12 Thread wanbao jin
> > When I just change the api.blogs.apps.BlogsConfig to api.blogs , it > worked fine. I am curious why api.blogs.apps.BlogsConfig doesn't work > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rec

Re: database migration

2010-12-30 Thread Torsten Bronger
Hallöchen! Torsten Bronger writes: > Hallöchen! > > Michael P. Soulier writes: > >> On 29/12/10 Torsten Bronger said: >> >>> I don't recommend that. If the database exceeds a certain size >>> (and "certain" is MBs, not GBs), this simply fails. >> >> Is there a bug report for this issue? I find t

Re: database migration

2010-12-30 Thread Ferran
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/12/10 13:17, Torsten Bronger wrote: >> Is there a bug report for this issue? I find that very >> > disappointing. > http://1.2.3.12/bmi/stc.celeb.gate.cc/banner/pi/0120.gif What i found disappointing is sending a NSFW image to a django list wi

Re: database migration

2010-12-30 Thread Torsten Bronger
Hallöchen! Michael P. Soulier writes: > On 29/12/10 Torsten Bronger said: > >> I don't recommend that. If the database exceeds a certain size >> (and "certain" is MBs, not GBs), this simply fails. > > Is there a bug report for this issue? I find that very > disappointing. http://1.2.3.12/bmi/st

Re: database migration

2010-12-29 Thread Michael P. Soulier
On 29/12/10 Emmanuel Mayssat said: > I was looking at a possibility of using manage.py dumpscript and > manage.py runscript > from django-extensions. But it is not straight forward either. dumpdata/loaddata is quite simple, I recently used it myself. Torsten suggested that there's a problem using

Re: database migration

2010-12-29 Thread Michael P. Soulier
On 29/12/10 Torsten Bronger said: > I don't recommend that. If the database exceeds a certain size (and > "certain" is MBs, not GBs), this simply fails. Is there a bug report for this issue? I find that very disappointing. Mike -- Michael P. Soulier "Any intelligent fool can make things bigge

Re: database migration

2010-12-29 Thread Emmanuel Mayssat
Michael, that's encouraging ;-) I was looking at a possibility of using manage.py dumpscript and manage.py runscript from django-extensions. But it is not straight forward either. Wasn't django supposed to be database agnostic? Now, I understand what they really meant. Pick you database carefully

Re: database migration

2010-12-28 Thread Torsten Bronger
Hallöchen! Michael P. Soulier writes: > On 28/12/10 Emmanuel Mayssat said: > >> I have a classic database dump question >> >> I would like to migrate from sqlite to mysql. >> How can I dump and import the data? > > See the manage.py dumpdata/loaddata commands. I don't recommend that. If th

Re: database migration

2010-12-28 Thread Emrah Unal
within the main project directory in linux python manage.py dumpdata > data.json command will dump your data to a json file change settings.py to use mysql, after that python manage.py syncdb this will create tables followed by python manage.py loaddata data.json will load everything back

Re: database migration

2010-12-28 Thread nfbueno78
see if this url could help you: http://www.maxkpage.com/blog/free-sqlite-to-mysql-converter-super-easy/ On Dec 29, 7:37 am, Emmanuel Mayssat wrote: > I have a classic database dump question > > I would like to migrate from sqlite to mysql. > How can I dump and import the data? > Regards, > -

Re: database migration

2010-12-28 Thread Michael P. Soulier
On 28/12/10 Emmanuel Mayssat said: > I have a classic database dump question > > I would like to migrate from sqlite to mysql. > How can I dump and import the data? See the manage.py dumpdata/loaddata commands. Mike signature.asc Description: Digital signature

Re: Database Migration Question

2008-05-06 Thread jack
Russ - We had a few back and forths about this several weeks ago, if you recall. I now am much better versed in Django and so maybe a bit more capable of making intelligent comments. It would seem to me that with the primitives that I am seeking (which is basically a continuation of hiding the S

Re: Database Migration Question

2008-05-05 Thread Russell Keith-Magee
On Tue, May 6, 2008 at 11:57 AM, jack <[EMAIL PROTECTED]> wrote: > > Are there any Python/Django methods that represent generic database > commands such as creating a new table, renaming or dropping a column, > etc.? My thinking is that if these generic methods existed, so that > all I needed

Re: Database migration

2007-03-27 Thread [EMAIL PROTECTED]
Thanks... I think I can handle that. If not, I can always roll it back. On Mar 26, 6:36 pm, "Honza Král" <[EMAIL PROTECTED]> wrote: > On 3/27/07, Jonas Maurus <[EMAIL PROTECTED]> wrote: > > > > > > > On Mar 26, 11:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > wrote: > > > I apologize for the

Re: Database migration

2007-03-26 Thread Honza Král
On 3/27/07, Jonas Maurus <[EMAIL PROTECTED]> wrote: > > On Mar 26, 11:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > I apologize for the vague newbie question, but I'm gonna ask it > > anyway... > > > > I'd like to switch DBs from mysql to postgres... how does one do so? I > > assume o

Re: Database migration

2007-03-26 Thread Jonas Maurus
On Mar 26, 11:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I apologize for the vague newbie question, but I'm gonna ask it > anyway... > > I'd like to switch DBs from mysql to postgres... how does one do so? I > assume one must export from mysql, import to postgres, then make the > appr

Re: Database Migration

2006-08-24 Thread Rock
One of my django apps contains testing data about every item our company has manufactured over the last year or so. The database has over 50 million rows of data. Despite this I have successfully migrated the database several times. Sometimes it is trivial. Back up the data for safety and then jus

Re: Database Migration

2006-08-24 Thread Jay Parlar
On 8/25/06, Dave <[EMAIL PROTECTED]> wrote: > > I create my models in models.py, and everything looks great. I launch > the application and millions upon millions of peope start using my app > and creating their own little entries in my database, via the perfect > models.py I wrote. > > But then,