These are chat archives for allegro/ralph

6th
Dec 2016
swb
@spencewb16_twitter
Dec 06 2016 15:38
@vi4m for back office assets, I'm unable to edit components and software? seems like they're filled in automatically whenever I add a new asset with default values. I must be missing something, though I've gone through much of the documentation...
✪ vi4m Marcin Kliks
@vi4m
Dec 06 2016 15:40
actually, you're not missing anything :D
models are there, but we didn't implement it yet, sorry for that surprise
didn't implement the view, though it's quite easy to do (in fevew lines of code)
i think we should do it eventually
o_O
swb
@spencewb16_twitter
Dec 06 2016 15:43
Oh I see. What file do I need to edit to add the view? or do i need to add a new view file entirely?
✪ vi4m Marcin Kliks
@vi4m
Dec 06 2016 15:46
just a sec
swb
@spencewb16_twitter
Dec 06 2016 15:47
in views file in /opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/back_office
i see the default values :smile: just not sure how to go about editing it so that it reroutes properly back to components section
swb
@spencewb16_twitter
Dec 06 2016 18:14
@vi4m I am all set with this, just copied some of the settings from views.py in /ralph/assets instead. thanks for the honesty/clarification! very helpful