Hi,<br>
<br>
How should I disable "Alias" & "URL_CSS" in UserPrefernces ?<br>
<br>
I've done that like this in "multiconfig.py"<br>
<br>
--<br>
user_form_fields = [<br>
('name', _('Name'), "text", "36", _("(Use Firstname''''''Lastname)")),<br>
##('aliasname', _('Alias-Name'), "text", "36", ''),<br>
('password', _('Password'), "password", "36", ''),<br>
('password2', _('Password
repeat'), "password", "36", _('(Only when changing passwords)')),<br>
('email', _('Email'), "text", "36", ''),<br>
##('css_url', _('User CSS
URL'), "text", "40", _('(Leave it empty for disabling user CSS)')),<br>
--<br>
<br>
but now when I select another user in "UserPreferences" ( ex. for disabling him) I see this error:<br>
<br>
--<br>
User instance has no attribute 'css_url'<br>
--<br>
<br>
<br>
Thanks<br>-- <br>********************************************************<br>Yours Sincerely, Mehdi Hassanpour<br>----------------------------------------------------------------------<br>/* Of one Essence is the human race,
<br>Thusly has Creation put the Base;<br>One Limb impacted is sufficient,<br>For all Others to feel the Mace.<br>
~Saadi (persian poet) -1258 */<br>----------------------------------------------------------------------<br><a href="http://ImPersian.com">http://ImPersian.com</a> | <a href="http://Hezardastan.org">http://Hezardastan.org
</a><br>********************************************************