with notebook not getting any imports

7 views
Skip to first unread message

Lachlan Musicman

unread,
Apr 29, 2015, 4:23:19 AM4/29/15
to django-e...@googlegroups.com
Hi,

I'm using django-extensions 1.5.2, ipython 3.1.0 and Django 1.8 in a virtualenv w pip 1.5.4.

When I do

./manage.py shell_plus --notebook

I get no imports.

I then try:

from models import *
from .models import *

from app.models import *
from .app.models import *


from proj.app.models import *
from .proj.app.models import *

None of which have any affect.

I discovered I needed something like this in my settings:

IPYTHON_ARGUMENTS = [
    '--ext', 'django_extensions.management.notebook_extension',
    '--debug',
]

Which I have done, but get the same results.

How do I get access to my models?

Cheers
L.
Reply all
Reply to author
Forward
0 new messages