Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
error while migrating
6 views
Skip to first unread message
RAJA MISHRA
unread,
Apr 30, 2019, 12:58:53 PM
4/30/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
django.setup()
NameError: name 'django' is not defined
Kasper Laudrup
unread,
Apr 30, 2019, 1:17:25 PM
4/30/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RAJA MISHRA, Django users
On April 30, 2019 3:07:05 PM GMT+02:00, RAJA MISHRA <
rajamishra...@gmail.com
> wrote:
django.setup()
NameError: name 'django' is not defined
class django(object):
def setup(self):
pass
Now django is defined and even has a setup method.
That should solve your issue. If not, consider adding a bit more context to your question.
Kind regards,
Kasper Laudrup
Reply all
Reply to author
Forward
0 new messages