Hey Jeff,

There sure is. Just specify a "TEST_NAME" key in the database configuration 
dictionary and you're good to go.

https://docs.djangoproject.com/en/dev/topics/testing/overview/#the-test-database

Cheers,
Ryan

On 29/12/2012, at 7:27 AM, Jeff <[email protected]> wrote:

> When I run the command - "python manage.py test polls" I get the following 
> error - error creating the test database: (1044, "Access denied for user 
> 'viewbank_django'@'localhost' to database 'test_viewbank_django'")
> 
> I am using a shared server that will only allow me to create a database 
> prefixed with viewbank_.
> 
> Using the MYSQL client I can create viewbank_django_test or any variation I 
> like as long as it starts with viewbank_.
> 
> Is there a way to change the way django names the test database?
> 
> Thanks in advance
> Jeff
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/django-users/-/oxBvQnPWaJgJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to