How to import Openwisp User Model

18 views
Skip to first unread message

ANSHUL DUTT SHARMA

unread,
Dec 10, 2019, 8:04:04 AM12/10/19
to open...@googlegroups.com
Hi, I wanted some help regarding the issue https://github.com/openwisp/openwisp-utils/issues/42#issue-459047446. How do I import the abstract models of Openwisp?  When I do from  django.contrib.auth.model , I am only able to import the User model in the admin.py file, not the Organisation models.Can someone help me in this regard?

Saimanoj Seshagiri ツ

unread,
Dec 10, 2019, 8:27:32 AM12/10/19
to OpenWISP
Did you resolved the issue

From: open...@googlegroups.com <open...@googlegroups.com> on behalf of ANSHUL DUTT SHARMA <anshul...@gmail.com>
Sent: Tuesday, December 10, 2019 6:33:47 PM
To: open...@googlegroups.com <open...@googlegroups.com>
Subject: [openwisp] How to import Openwisp User Model
 
Hi, I wanted some help regarding the issue https://github.com/openwisp/openwisp-utils/issues/42#issue-459047446. How do I import the abstract models of Openwisp?  When I do from  django.contrib.auth.model , I am only able to import the User model in the admin.py file, not the Organisation models.Can someone help me in this regard?

--
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+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAKfmwr-HkvZCfhMzqvqV%3DyOGO9r6sEA3HgTaDFWg7eY8tFYTXQ%40mail.gmail.com.

ANSHUL DUTT SHARMA

unread,
Dec 11, 2019, 1:04:58 AM12/11/19
to OpenWISP
Done by using openwisp_users file
Reply all
Reply to author
Forward
0 new messages