#13650: Permissions of abstract model without fields not added on syncdb
---------------------------+------------------------------------------------
 Reporter:  deschler       |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Uncategorized  |     Version:  1.2       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 I've got an abstract model which has no fields and only defines
 permissions. The permission isn't added to the auth_permission table on
 syncdb nor is the content_type added to django_content_type. The app is in
 INSTALLED_APPS.

 class Base(models.Model):
     class Meta:
         abstract = True
         permissions = (
             ("can_do_foo", _(u"Can do foo")),
         )

 Is this a bug or am i missing something? I'm using django-1.2.1.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13650>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to