Tourneur Henry-Nicolas schrieb:
> Hello,
>
> At the installation stage of the software (Django bases, of course) I'm
> developing, I have to insert data in a database. Is there any easy way to
> tell django to execute the SQL directives contained in a .sql file ?
>
> I tried using manage.py but
* Tourneur Henry-Nicolas <[EMAIL PROTECTED]> [2008-03-27 08:27 +0100]:
>
> On Wednesday 26 March 2008 17:25:18 Amit Ramon wrote:
> > You can do that easily enough without django...
> > one way is to do:
> > mysql -u -p < file.sql
> >
> > the other is to go into mysql and there do:
> > \. file.sq
On Wednesday 26 March 2008 17:25:18 Amit Ramon wrote:
> You can do that easily enough without django...
> one way is to do:
> mysql -u -p < file.sql
>
> the other is to go into mysql and there do:
> \. file.sql
>
> You can open a mysql shell with:
> manage.py dbshell
>
>
I prefer the second way b
You can do that easily enough without django...
one way is to do:
mysql -u -p < file.sql
the other is to go into mysql and there do:
\. file.sql
You can open a mysql shell with:
manage.py dbshell
--- Amit
* Tourneur Henry-Nicolas <[EMAIL PROTECTED]> [2008-03-25 17:32 +0100]:
>
> Hello,
>
Hello,
At the installation stage of the software (Django bases, of course) I'm
developing, I have to insert data in a database. Is there any easy way to
tell django to execute the SQL directives contained in a .sql file ?
I tried using manage.py but I don't know the good options.
So I would li
5 matches
Mail list logo