Thanks for the pointers, Oliver.

I'll look into it later

Em qua., 5 de fev. de 2020 às 17:39, Oliver Kraitschy <[email protected]>
escreveu:

> On Wed, Feb 05, 2020 at 05:15:43PM -0300, João Henrique Albuquerque wrote:
> >
> > About the signal on device creation, I should probably do it under the DB
> > I'm using, right?
> > E.g, when a new entry is made to the config_device tables update the
> field
> > with context straight to the backend of the application.
>
> https://docs.djangoproject.com/en/3.0/ref/signals/#post-save
>
> That signal is emitted if an instance of a model class has been saved. You
> can then check if it was an instance of the Device model class and if yes,
> determine the ip to use and fill the device context accordingly.
>
> Greetings,
> Oliver
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/20200205203901.GA7980%40idefix.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAO5jQiZqrFJh%2BjnEcDahzUTvvtiC_XR8g%3D01ej3GYo7_51O3RA%40mail.gmail.com.

Reply via email to