Do you have South in your INSTALLED_APPS?  I've noticed it doesn't fire
the appropriate syncdb signals.

-- 
Michael <mhall...@gmail.com>

On Fri, 2010-10-29 at 08:46 +0800, Russell Keith-Magee wrote:
> On Thu, Oct 28, 2010 at 8:12 PM, Narciso Oceguera <narc...@sih.cu> 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"),
> >           ("can_drink", "Can drink alcohol"),
> >       )
> >
> > But after executing:          manage.py syncdb
> > I can't get my custom permission added in the permission table. I think this
> > is a bug because the permissions was not found in
> > model._meta.permission attribute ( opts.permissions ) as the signals
> > (syncdb) expect. These
> > permission were added to the model object itself.
> 
> I can't reproduce your problem. The model you provided synchronizes
> fine for me, and permissions are added as expected.
> 
> Yours,
> Russ Magee %-)
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to