Same superuser in diffenrent apps

9 views
Skip to first unread message

aseem hegshetye

unread,
Aug 22, 2018, 7:45:37 AM8/22/18
to Django users
Hi,
I created second app and when creating superuser I get error saying superuser already taken. Is Django superuser shared accross all aps if DB is shared between those apps? I have two seperate Apps with shared DB and when i tried to create superuser for second app, i got error saying user name already taken.
Thanks

Mikhailo Keda

unread,
Aug 22, 2018, 7:49:11 AM8/22/18
to Django users
Yes, superuser will be set for all apps in this case

Irenge Mufungizi

unread,
Aug 22, 2018, 7:52:05 AM8/22/18
to django...@googlegroups.com
try to clear cache, 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4512cd1e-2b2d-4e5f-b606-cf77b924f9c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jason

unread,
Aug 22, 2018, 8:10:45 AM8/22/18
to Django users
if you're trying to create a superuser account with the same username, you will get that error.  usernames are unique.
Reply all
Reply to author
Forward
0 new messages