Re: SQL MIGRATION

2018-10-01 Thread heriberto ochoa
yes you need install with pip install mysqlclient and maybe sudo apt-get install libmysqlclient-dev El martes, 25 de septiembre de 2018, 16:25:30 (UTC-6), Afoakwa Stephen escribió: > > Am getting this error when moving from mysqli to mysql databases > django.core.exceptions.ImproperlyConfigured

SQL MIGRATION

2018-09-25 Thread Afoakwa Stephen
Am getting this error when moving from mysqli to mysql databases django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Re: SQL: Migration How To?

2008-10-07 Thread Thomas Guettler
Benjamin Buch schrieb: > Is there somewhere a place in the documentation where SQL migration > strategies are explained a little? > [cut] I do it like this: # Before changes to models.py ./manage.py sqlall myapp > orig.sql # Modify models.py ./manage.py sqlall myapp > new.sql

Re: SQL: Migration How To?

2008-10-04 Thread James Bennett
On Fri, Oct 3, 2008 at 11:36 PM, Benjamin Buch <[EMAIL PROTECTED]> wrote: > Is there somewhere a place in the documentation where SQL migration > strategies are explained a little? No. For the moment, the only "official", if it can be called that, way to do this is

Re: SQL: Migration How To?

2008-10-04 Thread Benjamin Buch
Thanks James and Russel for your replies. Am 04.10.2008 um 07:22 schrieb Russell Keith-Magee: > > On Sat, Oct 4, 2008 at 12:36 PM, Benjamin Buch <[EMAIL PROTECTED]> > wrote: >> >> Is there somewhere a place in the documentation where SQL migration >> strate

Re: SQL: Migration How To?

2008-10-03 Thread Russell Keith-Magee
On Sat, Oct 4, 2008 at 12:36 PM, Benjamin Buch <[EMAIL PROTECTED]> wrote: > > Is there somewhere a place in the documentation where SQL migration > strategies are explained a little? > I think I remember a paragraph in the pre-1.0-documentation that > described what you

SQL: Migration How To?

2008-10-03 Thread Benjamin Buch
Is there somewhere a place in the documentation where SQL migration strategies are explained a little? I think I remember a paragraph in the pre-1.0-documentation that described what you have to do with your database when you'd like to add a column to your model, but I can't find