#10364: Incorrect error message given when role does not have create database privilege -------------------------------+-------------------------------------------- Reporter: tylere | Owner: nobody Status: new | Milestone: 1.1 Component: GIS | Version: SVN Resolution: | Keywords: Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------+-------------------------------------------- Changes (by russellm):
* component: Testing framework => GIS Comment: This appears to only affect GIS databases, so I'm going to punt this to Justin's bailiwick. The fix seems fairly simple - we just need to print the exception obtained so that the user gets feedback on the underlying problem. The default creation backend [http://code.djangoproject.com/browser/django/trunk/django/db/backends/creation.py?rev=10028#L361 already does this], so it's just a matter of porting the logic to [http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/db/backend/postgis/creation.py?rev=%600028#L62 somewhere near here] -- Ticket URL: <http://code.djangoproject.com/ticket/10364#comment:2> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---