Django console

Hello!
I can not use the shell. In the console is not loaded Django
how to solve the problem?

import django; print('Django %s' % django.get_version())
if 'setup' in dir(django): django.setup()
import django_manage_shell; django_manage_shell.run


11.jpg

Please sign in to leave a comment.