auth_group: dropping unique on name

2010-01-19 Thread zweb
I am planning to drop unique key constraint on "name" column of auth_group table. Any possible issues it may cause? thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To

Re: auth_group: dropping unique on name

2010-01-19 Thread Karen Tracey
On Tue, Jan 19, 2010 at 3:17 AM, zweb wrote: > > I am planning to drop unique key constraint on "name" column of > auth_group table. > > Any possible issues it may cause? > Yes. With the unique constraint in place, .get() by name is guaranteed to either find a single group or none with a matchi

Re: auth_group: dropping unique on name

2010-01-19 Thread zweb
Since all my looks up are by id and I am not using admin, I should be ok. I was not sure if django auth framework used it internally anywhere. On Jan 19, 6:03 am, Karen Tracey wrote: > On Tue, Jan 19, 2010 at 3:17 AM, zweb wrote: > > > I am planning to drop unique key constraint on "name" colu