Changeset 1155 in main


Ignore:
Timestamp:
06/01/12 14:17:20 (7 years ago)
Author:
pcosquer
Message:

models: UserProfile?: add "can_publish" field
/!\ ./manage.py migrate plmapp is your friend

Location:
trunk/openPLM/plmapp
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/models.py

    r1136 r1155  
    110110    #: True if user is a contributor 
    111111    is_contributor = models.BooleanField(default=False, blank=True) 
     112    #: .. versionadded:: 1.1 True if user can publish a plmobject 
     113    can_publish = models.BooleanField(default=False, blank=True) 
     114 
    112115    #: language 
    113116    language = models.CharField(max_length=5, default="en", 
Note: See TracChangeset for help on using the changeset viewer.