diff options
author | coderick14 | 2017-05-16 17:37:05 +0530 |
---|---|---|
committer | coderick14 | 2017-05-16 17:37:05 +0530 |
commit | 43c64ce407620cd23c1b07cb13dd8d751f7a8ff3 (patch) | |
tree | 3f5268bcf0ad562ad16c4714ebbf675c60eef674 | |
parent | abf599be33b383a6a5baf9493093b2126a622ac8 (diff) | |
download | SBHS-2018-Rpi-43c64ce407620cd23c1b07cb13dd8d751f7a8ff3.tar.gz SBHS-2018-Rpi-43c64ce407620cd23c1b07cb13dd8d751f7a8ff3.tar.bz2 SBHS-2018-Rpi-43c64ce407620cd23c1b07cb13dd8d751f7a8ff3.zip |
Set up django-server locally
34 files changed, 8 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3efacfb --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.pyc +sbhs_server/*/*.pyc +sbhs_server/credentials.py diff --git a/sbhs_server/__init__.pyc b/sbhs_server/__init__.pyc Binary files differdeleted file mode 100644 index 0241825..0000000 --- a/sbhs_server/__init__.pyc +++ /dev/null diff --git a/sbhs_server/account/__init__.pyc b/sbhs_server/account/__init__.pyc Binary files differdeleted file mode 100644 index 229f2e0..0000000 --- a/sbhs_server/account/__init__.pyc +++ /dev/null diff --git a/sbhs_server/account/models.pyc b/sbhs_server/account/models.pyc Binary files differdeleted file mode 100644 index 782790e..0000000 --- a/sbhs_server/account/models.pyc +++ /dev/null diff --git a/sbhs_server/admin/__init__.pyc b/sbhs_server/admin/__init__.pyc Binary files differdeleted file mode 100644 index 95dd17b..0000000 --- a/sbhs_server/admin/__init__.pyc +++ /dev/null diff --git a/sbhs_server/admin/models.pyc b/sbhs_server/admin/models.pyc Binary files differdeleted file mode 100644 index 2d2a7de..0000000 --- a/sbhs_server/admin/models.pyc +++ /dev/null diff --git a/sbhs_server/experiment/__init__.pyc b/sbhs_server/experiment/__init__.pyc Binary files differdeleted file mode 100644 index 32fcf1c..0000000 --- a/sbhs_server/experiment/__init__.pyc +++ /dev/null diff --git a/sbhs_server/experiment/models.pyc b/sbhs_server/experiment/models.pyc Binary files differdeleted file mode 100644 index 9af4264..0000000 --- a/sbhs_server/experiment/models.pyc +++ /dev/null diff --git a/sbhs_server/helpers/__init__.pyc b/sbhs_server/helpers/__init__.pyc Binary files differdeleted file mode 100644 index e4b1769..0000000 --- a/sbhs_server/helpers/__init__.pyc +++ /dev/null diff --git a/sbhs_server/helpers/mailer.pyc b/sbhs_server/helpers/mailer.pyc Binary files differdeleted file mode 100644 index 5105102..0000000 --- a/sbhs_server/helpers/mailer.pyc +++ /dev/null diff --git a/sbhs_server/helpers/simple_encrypt.pyc b/sbhs_server/helpers/simple_encrypt.pyc Binary files differdeleted file mode 100644 index ffb331f..0000000 --- a/sbhs_server/helpers/simple_encrypt.pyc +++ /dev/null diff --git a/sbhs_server/pages/__init__.pyc b/sbhs_server/pages/__init__.pyc Binary files differdeleted file mode 100644 index f37f24c..0000000 --- a/sbhs_server/pages/__init__.pyc +++ /dev/null diff --git a/sbhs_server/pages/management/__init__.pyc b/sbhs_server/pages/management/__init__.pyc Binary files differdeleted file mode 100644 index d400ccc..0000000 --- a/sbhs_server/pages/management/__init__.pyc +++ /dev/null diff --git a/sbhs_server/pages/models.pyc b/sbhs_server/pages/models.pyc Binary files differdeleted file mode 100644 index 470724c..0000000 --- a/sbhs_server/pages/models.pyc +++ /dev/null diff --git a/sbhs_server/password/__init__.pyc b/sbhs_server/password/__init__.pyc Binary files differdeleted file mode 100644 index 31ad3f1..0000000 --- a/sbhs_server/password/__init__.pyc +++ /dev/null diff --git a/sbhs_server/password/models.pyc b/sbhs_server/password/models.pyc Binary files differdeleted file mode 100644 index d0a712d..0000000 --- a/sbhs_server/password/models.pyc +++ /dev/null diff --git a/sbhs_server/sbhs.pyc b/sbhs_server/sbhs.pyc Binary files differdeleted file mode 100644 index 3a1dc42..0000000 --- a/sbhs_server/sbhs.pyc +++ /dev/null diff --git a/sbhs_server/sbhs_admin_config.pyc b/sbhs_server/sbhs_admin_config.pyc Binary files differdeleted file mode 100644 index 2ab15bc..0000000 --- a/sbhs_server/sbhs_admin_config.pyc +++ /dev/null diff --git a/sbhs_server/server_private_files b/sbhs_server/server_private_files deleted file mode 160000 -Subproject 015354ba06771085a493cfffaa93576f8e1d5ac diff --git a/sbhs_server/settings.py b/sbhs_server/settings.py index 30a0f81..4d9575f 100644 --- a/sbhs_server/settings.py +++ b/sbhs_server/settings.py @@ -21,10 +21,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__)) # See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = '' +SECRET_KEY = 'k8^&^wr-skvt1bw$7^9mp$ic^5iubco@=bz*@hljl+vz9-&&_p$$$deep' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = is_production +DEBUG = not is_production TEMPLATE_DEBUG = not is_production @@ -42,7 +42,7 @@ if not DEBUG: # Application definition INSTALLED_APPS = ( - 'django.contrib.admin', + #'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', diff --git a/sbhs_server/settings.pyc b/sbhs_server/settings.pyc Binary files differdeleted file mode 100644 index 92c8db9..0000000 --- a/sbhs_server/settings.pyc +++ /dev/null diff --git a/sbhs_server/slot/__init__.pyc b/sbhs_server/slot/__init__.pyc Binary files differdeleted file mode 100644 index 0f4e397..0000000 --- a/sbhs_server/slot/__init__.pyc +++ /dev/null diff --git a/sbhs_server/slot/models.pyc b/sbhs_server/slot/models.pyc Binary files differdeleted file mode 100644 index 2f7dc8d..0000000 --- a/sbhs_server/slot/models.pyc +++ /dev/null diff --git a/sbhs_server/tables/__init__.pyc b/sbhs_server/tables/__init__.pyc Binary files differdeleted file mode 100644 index 3b42411..0000000 --- a/sbhs_server/tables/__init__.pyc +++ /dev/null diff --git a/sbhs_server/tables/management/__init__.pyc b/sbhs_server/tables/management/__init__.pyc Binary files differdeleted file mode 100644 index 409acc5..0000000 --- a/sbhs_server/tables/management/__init__.pyc +++ /dev/null diff --git a/sbhs_server/tables/management/commands/__init__.pyc b/sbhs_server/tables/management/commands/__init__.pyc Binary files differdeleted file mode 100644 index 2bcdd35..0000000 --- a/sbhs_server/tables/management/commands/__init__.pyc +++ /dev/null diff --git a/sbhs_server/tables/management/commands/generate_checksum.pyc b/sbhs_server/tables/management/commands/generate_checksum.pyc Binary files differdeleted file mode 100644 index 36d45a7..0000000 --- a/sbhs_server/tables/management/commands/generate_checksum.pyc +++ /dev/null diff --git a/sbhs_server/tables/management/commands/initialize_machines.pyc b/sbhs_server/tables/management/commands/initialize_machines.pyc Binary files differdeleted file mode 100644 index cbbb123..0000000 --- a/sbhs_server/tables/management/commands/initialize_machines.pyc +++ /dev/null diff --git a/sbhs_server/tables/models.pyc b/sbhs_server/tables/models.pyc Binary files differdeleted file mode 100644 index 7370f9a..0000000 --- a/sbhs_server/tables/models.pyc +++ /dev/null diff --git a/sbhs_server/urls.py b/sbhs_server/urls.py index 32a0efc..3c7ce0b 100644 --- a/sbhs_server/urls.py +++ b/sbhs_server/urls.py @@ -9,7 +9,7 @@ urlpatterns = patterns('', # url(r'^blog/', include('blog.urls')), #url(r'^admin/', include(admin.site.urls)), - url(r'^/?$', 'sbhs_server.pages.views.index'), + url(r'^$', 'sbhs_server.pages.views.index'), url(r'^exam/', include('yaksh.urls')), url(r'^about/?$', 'sbhs_server.pages.views.about'), url(r'^contact/?$', 'sbhs_server.pages.views.contact'), diff --git a/sbhs_server/webcam/__init__.pyc b/sbhs_server/webcam/__init__.pyc Binary files differdeleted file mode 100644 index b3d3fc2..0000000 --- a/sbhs_server/webcam/__init__.pyc +++ /dev/null diff --git a/sbhs_server/webcam/management/__init__.pyc b/sbhs_server/webcam/management/__init__.pyc Binary files differdeleted file mode 100644 index be6dca2..0000000 --- a/sbhs_server/webcam/management/__init__.pyc +++ /dev/null diff --git a/sbhs_server/webcam/models.pyc b/sbhs_server/webcam/models.pyc Binary files differdeleted file mode 100644 index 9026348..0000000 --- a/sbhs_server/webcam/models.pyc +++ /dev/null diff --git a/templates/pages/theory.html b/templates/pages/theory.html index 82cb49c..06b183d 100644 --- a/templates/pages/theory.html +++ b/templates/pages/theory.html @@ -9,7 +9,7 @@ {% include 'account/sub_nav.html' %} {% endif %} <div class="span12"> - <h2>Theroy</h2> + <h2>Theory</h2> <br> <br> <iframe src="{% static 'data/theory.pdf' %}" width="100%" height="900px" ></iframe> |