Jonathan, anotherdjangonewby, Thanks. I tried both suggestions, but there in no change in behavior. No matter what I do, the development server only takes requests at 127.0.0.1:8000.
I am including my settings.py file below ( with altered secret_key): ================ """ > Django settings for app3 project. > > For more information on this file, see > https://docs.djangoproject.com/en/1.7/topics/settings/ > > For the full list of settings and their values, see > https://docs.djangoproject.com/en/1.7/ref/settings/ > """ > > # Build paths inside the project like this: os.path.join(BASE_DIR, ...) > import os > BASE_DIR = os.path.dirname(os.path.dirname(__file__)) > > #wfk debug > print("WFK: BASE_DIR= " + BASE_DIR) > > # Quick-start development settings - unsuitable for production > # See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/ > > # SECURITY WARNING: keep the secret key used in production secret! > SECRET_KEY = 'zzzz' > > # SECURITY WARNING: don't run with debug turned on in production! > DEBUG = True > > #TEMPLATE_DEBUG = True #wfk. This is deprecated with Django 1.8 > > #ALLOWED_HOSTS = [] > ALLOWED_HOSTS = ['192.168.0.102'] > > # Application definition > INSTALLED_APPS = ( > 'django_pdb', #wfk for django-pdb debugger > 'django.contrib.admin', > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.messages', > 'django.contrib.staticfiles', > 'report_builder', > 'app3', #wfk. Application #3 > 'bootstrap3', > ) > > MIDDLEWARE_CLASSES = ( > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.middleware.common.CommonMiddleware', > 'django.middleware.csrf.CsrfViewMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', > 'django.contrib.messages.middleware.MessageMiddleware', > 'django.middleware.clickjacking.XFrameOptionsMiddleware', > 'django_pdb.middleware.PdbMiddleware', #wfk for django-pdb debugger > ) > > ROOT_URLCONF = 'app3.urls' #WFK app3 is in BASEPATH > #ROOT_URLCONF = 'urls' > print("WFK: ROOT_URLCONF= " + ROOT_URLCONF) #DEBUG > > WSGI_APPLICATION = 'app3.wsgi.application' > > #Wfk: This stanza removed when upgrading to Django 1.8. See "TEMPLATES =" > below. > #TEMPLATE_CONTEXT_PROCESSORS = ( # wfk added this for img processing > #"django.contrib.auth.context_processors.auth", > #"django.core.context_processors.debug", > #"django.core.context_processors.i18n", > #"django.core.context_processors.media", > #"django.core.context_processors.static", > #"django.core.context_processors.tz", > #"django.contrib.messages.context_processors.messages" > #) > > TEMPLATES = [ # wfk added this when upgrading from Django 1.7.1 to > 1.8.2 > { > 'BACKEND': 'django.template.backends.django.DjangoTemplates', > 'DIRS': [ > # insert your TEMPLATE_DIRS here > ], > 'APP_DIRS': True, > 'OPTIONS': { > 'context_processors': [ > # Insert your TEMPLATE_CONTEXT_PROCESSORS here or use this > # list if you haven't customized them: > 'django.contrib.auth.context_processors.auth', > 'django.template.context_processors.debug', > 'django.template.context_processors.i18n', > 'django.template.context_processors.media', > 'django.template.context_processors.static', > 'django.template.context_processors.tz', > 'django.contrib.messages.context_processors.messages', > ], > 'debug':True, #wfk: Do TEMPLATE debugging. Replaces > TEMPLATE_DEBUG. See 1.8 upgrade stuff > }, > }, > ] > > # Database > # https://docs.djangoproject.com/en/1.7/ref/settings/#databases > > DATABASES = { > > # For postgres: > # USER, PASSWORD, HOST are needed > # Inside postgres, "CREATE DATABASE database_name" > > 'default': { > 'ENGINE': 'django.db.backends.postgresql_psycopg2', > #'NAME': 'app_1_db', # Change to app3 later !!! > 'NAME': 'app3_db', > 'USER': 'bill', > 'PASSWORD': 'bill', > 'HOST': '127.0.0.1', > 'PORT': '5432', > # 'ATOMIC_REQUESTS': True, # Safe! See "Two Scoops" p 72 > } > > } > > # Internationalization > # https://docs.djangoproject.com/en/1.7/topics/i18n/ > > LANGUAGE_CODE = 'en-us' > > #TIME_ZONE = 'UTC' > TIME_ZONE = 'America/Los_Angeles' > > USE_I18N = True > > USE_L10N = True > > USE_TZ = True > > > # Static files (CSS, JavaScript, Images) > # https://docs.djangoproject.com/en/1.7/howto/static-files/ > > STATIC_URL = '/static/' # refers to > /home/bill/web_server/django/proj3/app3/static > STATIC_PATH = os.path.join(BASE_DIR,'app3/static/') #wfk 16-dec-2014 > #wfk debug > print("WFK: STATIC_PATH= " + STATIC_PATH) > STATICFILES_DIRS = (STATIC_PATH,) > > # WFK: temporary Directory for collectstatic operation > # WFK: "pythone manage.py collectstatic" will load the following file. > STATIC_ROOT = '/home/bill/junkd/app3_static' > # scp this up to stp and place it in "/static/" > # i.e. in /home/bill/web_server/django/proj3/app3/static > > #MEDIA_ROOT = "/home/bill/django/wfkprojs/proj1/app3/media_root/" > > MEDIA_ROOT = os.path.join(BASE_DIR, 'app3/media_root/') > MEDIA_URL = '/media_root/' # > > #wfk debug > print("WFK: MEDIA_ROOT= " + MEDIA_ROOT) > print("WFK: MEDIA_URL= " + MEDIA_URL) > > # wfk additions follow. See "Settings" in Django Documentation > > # Expire. Aso use request.session.set_expiry(0) in view. > SESSION_EXPIRE_AT_BROWSER_CLOSE = True > > #LOGIN_REDIRECT_URL = '/app3/wfk_protected/' # '/accounts/profile/' > #LOGIN_URL = '/app3/wfk_protected/' #'/accounts/login/' > #LOGOUT = '/accounts/logout/' > > # django-report-builder stuff follows > REPORT_BUILDER_INCLUDE = ['Location', 'Observation', 'Measurement'] > #REPORT_BUILDER_INCLUDE = [] > > #REPORT_BUILDER_EXCLUDE = ['user']# > REPORT_BUILDER_EXCLUDE = [] > > #REPORT_BUILDER_ASYNC_REPORT = True > REPORT_BUILDER_ASYNC_REPOR = False # If true, requure Celery > > REPORT_BUILDER_GLOBAL_EXPORT = True > #REPORT_BUILDER_EMAIL_NOTIFICATION = False > > -- 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+unsubscr...@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/58d37aa0-adf8-44f4-9260-65189eaef638%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.