Hi, I'm a newbie of django user,
I follow the django document to create custom permissions:

class USCitizen(models.Model):
    # ...
    class Meta:
        permissions = (
            ("can_drive", "Can drive"),
            ("can_vote", "Can vote in elections"),
            ("can_drink", "Can drink alcohol"),
        )

but if I change to

class USCitizen(models.Model):
    # ...
    class Meta:
        permissions = (
            ("can_dosomework", "Can drive"),
        )

and do "python manage.py syncdb"
then django will not auto clean the can_drive,can_vote and can_drink
permissions,
instead it create a new permisson and keep the old three permissions.

how could I remove the old unneed custom permissions without manuall
delete it from database tables?
or can I set it from somewhere in django's admin pages?


--~--~---------~--~----~------------~-------~--~----~
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 more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to