Initialize device type #457
Unanswered
tomasaberg
asked this question in
Getting Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to get the init script for device_types to work.
This is what i have in initializers/device_types.yml
(This model might not be correct, I'm just trying to add something atm)
This gives me an error though
TypeError: Direct assignment to the reverse side of a related set is prohibited. Use interfacetemplates.set() instead.
I'm confused regarding how this script is supposed to work. There are a lot of things that I supposedly could add but apparently I'm doing something wrong.
Could anyone please enlighten me? :)
Beta Was this translation helpful? Give feedback.
All reactions