Re: Custum permission bug

2010-10-30 Thread Ramiro Morales
On Thu, Oct 28, 2010 at 9:12 AM, Narciso Oceguera wrote: > Hi, everyone. > > As documentation said, I just added the lines: > > class USCitizen(models.Model): >   # ... > >   class Meta: >       permissions = ( >           ("can_drive", "Can drive"), >           ("can_vote", "Can vote in elections

Re: Custum permission bug

2010-10-30 Thread Michael
Do you have South in your INSTALLED_APPS? I've noticed it doesn't fire the appropriate syncdb signals. -- Michael On Fri, 2010-10-29 at 08:46 +0800, Russell Keith-Magee wrote: > On Thu, Oct 28, 2010 at 8:12 PM, Narciso Oceguera wrote: > > Hi, everyone. > > > > As documentation said, I just ad

Re: Custum permission bug

2010-10-28 Thread Russell Keith-Magee
On Thu, Oct 28, 2010 at 8:12 PM, Narciso Oceguera wrote: > Hi, everyone. > > As documentation said, I just added the lines: > > class USCitizen(models.Model): >   # ... > >   class Meta: >       permissions = ( >           ("can_drive", "Can drive"), >           ("can_vote", "Can vote in elections

Custum permission bug

2010-10-28 Thread Narciso Oceguera
Hi, everyone. As documentation said, I just added the lines: class USCitizen(models.Model): # ... class Meta: permissions = ( ("can_drive", "Can drive"), ("can_vote", "Can vote in elections"), ("can_drink", "Can drink alcohol"), ) But after