On May 24, 4:16 pm, dmitry b <dmitry.ma...@gmail.com> wrote:
> Hi,
>
> I'm in the process of setting up automated selenium tests for a django
> app using Hudson. As part of the build script, I'm starting up a test
> server:
>
> $> python manage.py testserver --addrport 0.0.0.0:8080 ../../test/gui/
> seed_data.json
>
> However, when this line runs, I get the following message:
>
> ('42000', "[42000] [Microsoft][ODBC SQL
> Server Driver][SQL Server]Database 'test_Tools' already exists.
> Choose a different database name. (1801) (SQLExecDirectW)")
> Type 'yes' if you would like to try deleting the test database
> 'test_Tools',
> or 'no' to cancel: Traceback (most recent call last):
>
> I see that the test apis have an option to autoclobber the database.
> However, I cannot find a way to tell django to just quietly recreate
> the database from the command line. What am I missing?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment