You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:/Users/chukovna/Desktop/xxx", line 9, in
user.custom_fields={'id': 1,'description': 'foo'}
File "C:\Python27\lib\site-packages\redmine\resources.py", line 173, in setattr
raise ReadonlyAttrError()
ReadonlyAttrError: Can't set read only attribute
The text was updated successfully, but these errors were encountered:
Hello!
How i can save custom_fields of user object?
from redmine import Redmine
redmine = Redmine('http://redmine.gosznak.ru/', username='admin', password='password',version='2.4.2')
user = redmine.user.new()
user.login = 'Login'
user.firstname = 'Name'
user.lastname = 'LastName_byScrypt'
user.mail = 'mail@mail.ru'
user.auth_source_id = 1
user.custom_fields={'id': 1,'description': 'foo'}
user.save()
Traceback (most recent call last):
File "C:/Users/chukovna/Desktop/xxx", line 9, in
user.custom_fields={'id': 1,'description': 'foo'}
File "C:\Python27\lib\site-packages\redmine\resources.py", line 173, in setattr
raise ReadonlyAttrError()
ReadonlyAttrError: Can't set read only attribute
The text was updated successfully, but these errors were encountered: