I have added
NOTEBOOK_ARGUMENTS = [
'--ip=0.0.0.0',
'--port=8989',
]
to my base.py NOTEBOOK_ARGUMENTS = [
'--ip=0.0.0.0',
'--port=8989',
]
and the notebook launches on port 8989 as expected, so the settings are being read properly. Hmmm.
------
let's build quiet armies friends, let's march on their glass towers...let's build fallen cathedrals and make impractical plans
- GYBE
let's build quiet armies friends, let's march on their glass towers...let's build fallen cathedrals and make impractical plans
- GYBE
On 29 April 2015 at 11:21, Lachlan Musicman <datakid@gmail.com> wrote:
L.Runningworks fine - all models are imported
$ ./manage.py shell_plus --ipython------
let's build quiet armies friends, let's march on their glass towers...let's build fallen cathedrals and make impractical plans
- GYBEOn 29 April 2015 at 11:15, Lachlan Musicman <datakid@gmail.com> wrote:d = Document()All of the following fail:I can't get access to my models at all?Hi,Using Django 1.8, django-extensions 1.5.2, ipython 3.1.0 in a virtualenv
from models import *
from app.models import *from proj.app.models import *i am loading from within venv with
$ ./manage.py shell_plus --notebookMy settings are:
IPYTHON_ARGUMENTS = [
'--ext', 'django_extensions.management.notebook_extension',
'--debug',
]My dir layout is:.
├── fraser
│ ├── __init__.py
│ ├── settings
│ │ ├── base.py
│ │ ├── dev.py
│ │ └── __init__.py
│ ├── urls.py
│ └── wsgi.py
├── manage.py
├── texts
│ ├── admin.py
│ ├── __init__.py
│ ├── models.py
│ ├── tests.py
│ └── views.py
└── utils
└── archive_import.ipynbAny tips greatly appreciated.cheersL.------
let's build quiet armies friends, let's march on their glass towers...let's build fallen cathedrals and make impractical plans
- GYBE
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGBeqiO7xQeY7ieJvVarYBiS%3DAa8j5dU9aeki-3b0URjAGji%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment