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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to