Loading sopds/settings.py +11 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,17 @@ WSGI_APPLICATION = 'sopds.wsgi.application' # } #} #DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.postgresql_psycopg2', # 'NAME': 'sopds', # 'USER': 'sopds', # 'PASSWORD': 'sopds', # 'HOST': '', # Set to empty string for localhost. # 'PORT': '', # Set to empty string for default. # } #} DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', Loading sopds_web_backend/views.py +1 −0 Original line number Diff line number Diff line from random import randint import urllib from django.shortcuts import render, redirect from django.template.context_processors import csrf Loading Loading
sopds/settings.py +11 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,17 @@ WSGI_APPLICATION = 'sopds.wsgi.application' # } #} #DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.postgresql_psycopg2', # 'NAME': 'sopds', # 'USER': 'sopds', # 'PASSWORD': 'sopds', # 'HOST': '', # Set to empty string for localhost. # 'PORT': '', # Set to empty string for default. # } #} DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', Loading
sopds_web_backend/views.py +1 −0 Original line number Diff line number Diff line from random import randint import urllib from django.shortcuts import render, redirect from django.template.context_processors import csrf Loading