.. this works for model, but when i add 'base_object' to raw_id_fields this doesn't work and needs debugging
swb
@spencewb16_twitter
@xliiv this is added to admin.py file, or within components.py file? what is 'base_object' field for anway - seems unrelated? can this work with 'label' field within 'class Ethernet(Component)' or not possible?
sorry for so many questions
and what is ethernetlockdeleteform
swb
@spencewb16_twitter
ohhhhh it's the views.py
i m a dummy sorry :( i think i got this tho.... for now..... :smiling_imp:
xliiv
@xliiv
@spencewb16_twitter yup, it's views.py file.. base_object is a bit abstract.. but in this case it's data-center-asset, like server
ethernetlockdeleteform makes data in form readonly when _dhcp_expose_should_lock_fields is set to True
swb
@spencewb16_twitter
thank you @xliiv! you rock! :guitar:
xliiv
@xliiv
@spencewb16_twitter you're welcome
;P
hosfeld
@hosfeld
Hi all! Any chance to move an asset from backoffice to datacenter (or have an asset in both categtories?)
✪ vi4m Marcin Kliks
@vi4m
oh, we don't have the opposite? mmm
xliiv
@xliiv
@vi4m@hosfeld both way conversion is possible. if you look at back-office-asset then "convert to data center asset" if you look at data-center-asset then "convert to back office asset"
Miriam Cox
@marzipanic
Hello. Is this a good place to inquire about installation troubleshooting?
(For Ralph)
✪ vi4m Marcin Kliks
@vi4m
you can ask here
Miriam Cox
@marzipanic
Thanks--
I am currently running Ubuntu 14.04.2 LTS and am trying to install Ralph, but there appears to be an issue installing ralph-core, related to permissions on the ralph_ng account (used automatically in the installation scripts to install a database also called ralph-ng).
When I run "sudo apt-get install ralph-core", I get the following error traceback:
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'ralph_ng'@'localhost' (using password: YES)")
Any idea why access might be denied for that user? I checked the scripts, and it looks like it should be giving the ralph_ng account all privileges in the MySQL database
Just wondering if I need to run the "grant all" command manually through the MySQL interface...
_
✪ vi4m Marcin Kliks
@vi4m
yes, ralph_ng should have granted all privileges to the database
though we didn't mention about it in in the installation manual ;)
Miriam Cox
@marzipanic
Hmm. I guess I assumed that this would take care of itself since there appears to be a script in "vagrant/provisioning_scripts/init_mysql.sh" that handles set up of the ralph_ng database, and gives permissions
But I guess vagrant isn't running/
(since I didn't specifically set up or install vagrant) so the script probably doesn't execute?
Hmm. Yep. Sorry for the trouble! looks like i just needed to manually run the commands:
✪ vi4m Marcin Kliks
@vi4m
yeah :)
Miriam Cox
@marzipanic
"CREATE DATABASE ralph_ng DEFAULT CHARACTER SET 'utf8';" and "GRANT ALL ON ralph_ng.* TO ralph_ng@'%' IDENTIFIED BY 'ralph_ng';"