Sorry I could not see any !
Is there way to create custom organization like create super user with
below script
*from django.contrib.auth import get_user_model; User = get_user_model();
User.objects.create_superuser('admin', '[email protected]', 'admin')" |
python3 /home/openwisp/manage.py shell*
On Thursday, October 3, 2019 at 12:09:00 PM UTC+5:30, Noumbissi Valere
wrote:
>
> Check the *organization* table. You should see a default organization there
>
> On Thu, Oct 3, 2019, 6:42 AM Amit Goyal <[email protected] <javascript:>>
> wrote:
>
>> Hi Noumbissi
>>
>> Thanks for replying !
>>
>> Where it is created ? I cannot see any default organisation in table
>> openwisp_users_organization.
>> We want to fixed the secret key for that organisation!
>>
>> On Thursday, October 3, 2019 at 11:06:00 AM UTC+5:30, Noumbissi Valere
>> wrote:
>>>
>>> Hello Amit,
>>>
>>> A *default* organization is created at start up which you can use. Don't
>>> know if that will solve your problem?
>>>
>>> On Thu, Oct 3, 2019, 6:12 AM Amit Goyal <[email protected]> wrote:
>>>
>>>> Hi
>>>>
>>>> We want to create organisation with fixed secret key during openwisp
>>>> start up as we can create superuser during startup .
>>>> Is it possible to do ? Please let me know details .
>>>>
>>>> Thanks
>>>> Amit
>>>>
>>>> --
>>>> 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/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/openwisp/feb00a8c-03db-4784-a951-e43d81cd0150%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> 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] <javascript:>.
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/openwisp/cb4ed944-aebc-4464-8d37-2596c269ca50%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/5ba5e7f4-ed0e-4047-a004-21f9e00b09b8%40googlegroups.com.