Re: Removing old permissions from auth_permission

2006-08-24 Thread Sean
Call './manage.py shell': from django.contrib.auth.models import Permission for perm in Permission.objects.all(): perm.delete() and then call './manage syncdb' This rebuilds the permission table. If you want it done some other way, you will probably have to wait for the SchemaEvolution br

Re: Removing old permissions from auth_permission

2006-08-24 Thread Alan Green
On 8/23/06, cyberco <[EMAIL PROTECTED]> wrote: > > Once permissions are added to the auth_permission table it doesn't > matter how often I invoke 'manage.py syncdb app' or 'manage.py reset > app', stale records are never deleted. Is this normal behaviour? syncdb only ever adds records to the data

Re: Removing old permissions from auth_permission

2006-08-24 Thread cyberco
Anybody? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For m

Removing old permissions from auth_permission

2006-08-22 Thread cyberco
Once permissions are added to the auth_permission table it doesn't matter how often I invoke 'manage.py syncdb app' or 'manage.py reset app', stale records are never deleted. Is this normal behaviour? --~--~-~--~~~---~--~~ You received this message because you are