*Weekly Update* This week, I worked on the notification model and the celery APIs for notifications. * what can be done now* As of this PR, it is possible for admins to -Receive notifications when a user imports their templates -Receive notifications when user delete their templates -Users who import templates get the contents of their templates periodically synchronized and a notification send to the designer to indicate last synchronized date.
here is the PR: Notification model <https://github.com/openwisp/django-netjsonconfig/pull/124> *What to do next* - Perform changes which may be requested by mentors. - work solve the *ModuleNotFoundErrror* on openwisp_controller in order to make the APIs on django_netjsonconfig available to openwisp_controller. On Sun, Jun 23, 2019 at 4:41 PM Federico Capoano <federico.capo...@gmail.com> wrote: > > > On Fri, Jun 21, 2019 at 2:41 PM Noumbissi Valere < > noumbissival...@gmail.com> wrote: > >> *Weekly Report * >> During this week, i performed changes and optimized the following PRs as >> requested. And right now they are waiting for review. >> -PR 119 <https://github.com/openwisp/django-netjsonconfig/pull/119> >> > > PR approved, you can go ahead. > > >> -PR 123 <https://github.com/openwisp/django-netjsonconfig/pull/123> >> > > PR approved, you can go ahead. > > >> -PR 117 <https://github.com/openwisp/django-netjsonconfig/pull/117> >> > > > > >> After these, I decided to make these APIs available to the >> openwisp_controller repo. But i still got the following error >> *RuntimeError: Model class django_x509.models.Ca >> <http://django_x509.models.Ca> doesn't declare an explicit app_label and >> isn't in an application in INSTALLED_APPS.* >> I tried diverse debugging methods but i didn't find the solution. I will >> be glad to receive an idea on what to do. >> here is the PR of the work i have done so far on this issue. PR 101 >> <https://github.com/openwisp/openwisp-controller/pull/101> >> > > The problem is caused by this file: > https://github.com/openwisp/django-netjsonconfig/blob/gsoc2019/django_netjsonconfig/api/views.py > > That view is not programmed to be reusable by third party apps, because it > imports a concrete model, which will fail when you try to import that view > in a django project which does not list django_netjsonconfig in > INSTALLED_APPS (like we do in openwisp-controller, because we use > django-netjsonconfig as a base to extend). > > It looks like that view is being loaded automatically by django for some > reason. Check why it is being imported and avoid it, if you do that, the > problem will be fixed. > > >> Also, the openwisp_controller and openwisp-user does not have the >> gsoc2019 branch against which am suppose to send my PRs, Please i will love >> that this branch be created so that i can send my PRs to it rather than >> master. Thanks. >> > > Created for both. > > >> *Currently working on:* >> I have created the TemplateSubscription model and I am presently writing >> the various APIs for Celery. I will be sending PRs for this work in the >> next couple of days. >> > > Great. > > Thanks > Fed > > -- > 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 openwisp+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/CAERYH6XRL7hBZt6tLoYgzg99C%3DZpqjr67jc-hqMH1fMKpgR2Ew%40mail.gmail.com > <https://groups.google.com/d/msgid/openwisp/CAERYH6XRL7hBZt6tLoYgzg99C%3DZpqjr67jc-hqMH1fMKpgR2Ew%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 openwisp+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAOwnGe5Zc_de1SVAPUs2LR8PCkbvrjaM4Snmr%2BXNqrwCTK5eZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.