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
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
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
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
4 matches
Mail list logo