From a59792761e13920bd59ba934af5b4a62a77f79c7 Mon Sep 17 00:00:00 2001 From: coderick14 Date: Tue, 16 May 2017 17:37:05 +0530 Subject: Set up django-server locally --- sbhs_server/__init__.pyc | Bin 138 -> 0 bytes sbhs_server/account/__init__.pyc | Bin 146 -> 0 bytes sbhs_server/account/models.pyc | Bin 200 -> 0 bytes sbhs_server/admin/__init__.pyc | Bin 144 -> 0 bytes sbhs_server/admin/models.pyc | Bin 198 -> 0 bytes sbhs_server/experiment/__init__.pyc | Bin 149 -> 0 bytes sbhs_server/experiment/models.pyc | Bin 203 -> 0 bytes sbhs_server/helpers/__init__.pyc | Bin 146 -> 0 bytes sbhs_server/helpers/mailer.pyc | Bin 962 -> 0 bytes sbhs_server/helpers/simple_encrypt.pyc | Bin 1113 -> 0 bytes sbhs_server/pages/__init__.pyc | Bin 144 -> 0 bytes sbhs_server/pages/management/__init__.pyc | Bin 155 -> 0 bytes sbhs_server/pages/models.pyc | Bin 198 -> 0 bytes sbhs_server/password/__init__.pyc | Bin 147 -> 0 bytes sbhs_server/password/models.pyc | Bin 201 -> 0 bytes sbhs_server/sbhs.pyc | Bin 7271 -> 0 bytes sbhs_server/sbhs_admin_config.pyc | Bin 583 -> 0 bytes sbhs_server/server_private_files | 1 - sbhs_server/settings.py | 6 +++--- sbhs_server/settings.pyc | Bin 6116 -> 0 bytes sbhs_server/slot/__init__.pyc | Bin 143 -> 0 bytes sbhs_server/slot/models.pyc | Bin 197 -> 0 bytes sbhs_server/tables/__init__.pyc | Bin 145 -> 0 bytes sbhs_server/tables/management/__init__.pyc | Bin 156 -> 0 bytes sbhs_server/tables/management/commands/__init__.pyc | Bin 165 -> 0 bytes .../tables/management/commands/generate_checksum.pyc | Bin 1437 -> 0 bytes .../tables/management/commands/initialize_machines.pyc | Bin 2354 -> 0 bytes sbhs_server/tables/models.pyc | Bin 10308 -> 0 bytes sbhs_server/urls.py | 2 +- sbhs_server/webcam/__init__.pyc | Bin 145 -> 0 bytes sbhs_server/webcam/management/__init__.pyc | Bin 156 -> 0 bytes sbhs_server/webcam/models.pyc | Bin 199 -> 0 bytes 32 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 sbhs_server/__init__.pyc delete mode 100644 sbhs_server/account/__init__.pyc delete mode 100644 sbhs_server/account/models.pyc delete mode 100644 sbhs_server/admin/__init__.pyc delete mode 100644 sbhs_server/admin/models.pyc delete mode 100644 sbhs_server/experiment/__init__.pyc delete mode 100644 sbhs_server/experiment/models.pyc delete mode 100644 sbhs_server/helpers/__init__.pyc delete mode 100644 sbhs_server/helpers/mailer.pyc delete mode 100644 sbhs_server/helpers/simple_encrypt.pyc delete mode 100644 sbhs_server/pages/__init__.pyc delete mode 100644 sbhs_server/pages/management/__init__.pyc delete mode 100644 sbhs_server/pages/models.pyc delete mode 100644 sbhs_server/password/__init__.pyc delete mode 100644 sbhs_server/password/models.pyc delete mode 100644 sbhs_server/sbhs.pyc delete mode 100644 sbhs_server/sbhs_admin_config.pyc delete mode 160000 sbhs_server/server_private_files delete mode 100644 sbhs_server/settings.pyc delete mode 100644 sbhs_server/slot/__init__.pyc delete mode 100644 sbhs_server/slot/models.pyc delete mode 100644 sbhs_server/tables/__init__.pyc delete mode 100644 sbhs_server/tables/management/__init__.pyc delete mode 100644 sbhs_server/tables/management/commands/__init__.pyc delete mode 100644 sbhs_server/tables/management/commands/generate_checksum.pyc delete mode 100644 sbhs_server/tables/management/commands/initialize_machines.pyc delete mode 100644 sbhs_server/tables/models.pyc delete mode 100644 sbhs_server/webcam/__init__.pyc delete mode 100644 sbhs_server/webcam/management/__init__.pyc delete mode 100644 sbhs_server/webcam/models.pyc (limited to 'sbhs_server') diff --git a/sbhs_server/__init__.pyc b/sbhs_server/__init__.pyc deleted file mode 100644 index 0241825..0000000 Binary files a/sbhs_server/__init__.pyc and /dev/null differ diff --git a/sbhs_server/account/__init__.pyc b/sbhs_server/account/__init__.pyc deleted file mode 100644 index 229f2e0..0000000 Binary files a/sbhs_server/account/__init__.pyc and /dev/null differ diff --git a/sbhs_server/account/models.pyc b/sbhs_server/account/models.pyc deleted file mode 100644 index 782790e..0000000 Binary files a/sbhs_server/account/models.pyc and /dev/null differ diff --git a/sbhs_server/admin/__init__.pyc b/sbhs_server/admin/__init__.pyc deleted file mode 100644 index 95dd17b..0000000 Binary files a/sbhs_server/admin/__init__.pyc and /dev/null differ diff --git a/sbhs_server/admin/models.pyc b/sbhs_server/admin/models.pyc deleted file mode 100644 index 2d2a7de..0000000 Binary files a/sbhs_server/admin/models.pyc and /dev/null differ diff --git a/sbhs_server/experiment/__init__.pyc b/sbhs_server/experiment/__init__.pyc deleted file mode 100644 index 32fcf1c..0000000 Binary files a/sbhs_server/experiment/__init__.pyc and /dev/null differ diff --git a/sbhs_server/experiment/models.pyc b/sbhs_server/experiment/models.pyc deleted file mode 100644 index 9af4264..0000000 Binary files a/sbhs_server/experiment/models.pyc and /dev/null differ diff --git a/sbhs_server/helpers/__init__.pyc b/sbhs_server/helpers/__init__.pyc deleted file mode 100644 index e4b1769..0000000 Binary files a/sbhs_server/helpers/__init__.pyc and /dev/null differ diff --git a/sbhs_server/helpers/mailer.pyc b/sbhs_server/helpers/mailer.pyc deleted file mode 100644 index 5105102..0000000 Binary files a/sbhs_server/helpers/mailer.pyc and /dev/null differ diff --git a/sbhs_server/helpers/simple_encrypt.pyc b/sbhs_server/helpers/simple_encrypt.pyc deleted file mode 100644 index ffb331f..0000000 Binary files a/sbhs_server/helpers/simple_encrypt.pyc and /dev/null differ diff --git a/sbhs_server/pages/__init__.pyc b/sbhs_server/pages/__init__.pyc deleted file mode 100644 index f37f24c..0000000 Binary files a/sbhs_server/pages/__init__.pyc and /dev/null differ diff --git a/sbhs_server/pages/management/__init__.pyc b/sbhs_server/pages/management/__init__.pyc deleted file mode 100644 index d400ccc..0000000 Binary files a/sbhs_server/pages/management/__init__.pyc and /dev/null differ diff --git a/sbhs_server/pages/models.pyc b/sbhs_server/pages/models.pyc deleted file mode 100644 index 470724c..0000000 Binary files a/sbhs_server/pages/models.pyc and /dev/null differ diff --git a/sbhs_server/password/__init__.pyc b/sbhs_server/password/__init__.pyc deleted file mode 100644 index 31ad3f1..0000000 Binary files a/sbhs_server/password/__init__.pyc and /dev/null differ diff --git a/sbhs_server/password/models.pyc b/sbhs_server/password/models.pyc deleted file mode 100644 index d0a712d..0000000 Binary files a/sbhs_server/password/models.pyc and /dev/null differ diff --git a/sbhs_server/sbhs.pyc b/sbhs_server/sbhs.pyc deleted file mode 100644 index 3a1dc42..0000000 Binary files a/sbhs_server/sbhs.pyc and /dev/null differ diff --git a/sbhs_server/sbhs_admin_config.pyc b/sbhs_server/sbhs_admin_config.pyc deleted file mode 100644 index 2ab15bc..0000000 Binary files a/sbhs_server/sbhs_admin_config.pyc and /dev/null differ diff --git a/sbhs_server/server_private_files b/sbhs_server/server_private_files deleted file mode 160000 index 015354b..0000000 --- a/sbhs_server/server_private_files +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 015354ba06771085a493cfffaa93576f8e1d5ace 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 deleted file mode 100644 index 92c8db9..0000000 Binary files a/sbhs_server/settings.pyc and /dev/null differ diff --git a/sbhs_server/slot/__init__.pyc b/sbhs_server/slot/__init__.pyc deleted file mode 100644 index 0f4e397..0000000 Binary files a/sbhs_server/slot/__init__.pyc and /dev/null differ diff --git a/sbhs_server/slot/models.pyc b/sbhs_server/slot/models.pyc deleted file mode 100644 index 2f7dc8d..0000000 Binary files a/sbhs_server/slot/models.pyc and /dev/null differ diff --git a/sbhs_server/tables/__init__.pyc b/sbhs_server/tables/__init__.pyc deleted file mode 100644 index 3b42411..0000000 Binary files a/sbhs_server/tables/__init__.pyc and /dev/null differ diff --git a/sbhs_server/tables/management/__init__.pyc b/sbhs_server/tables/management/__init__.pyc deleted file mode 100644 index 409acc5..0000000 Binary files a/sbhs_server/tables/management/__init__.pyc and /dev/null differ diff --git a/sbhs_server/tables/management/commands/__init__.pyc b/sbhs_server/tables/management/commands/__init__.pyc deleted file mode 100644 index 2bcdd35..0000000 Binary files a/sbhs_server/tables/management/commands/__init__.pyc and /dev/null differ diff --git a/sbhs_server/tables/management/commands/generate_checksum.pyc b/sbhs_server/tables/management/commands/generate_checksum.pyc deleted file mode 100644 index 36d45a7..0000000 Binary files a/sbhs_server/tables/management/commands/generate_checksum.pyc and /dev/null differ diff --git a/sbhs_server/tables/management/commands/initialize_machines.pyc b/sbhs_server/tables/management/commands/initialize_machines.pyc deleted file mode 100644 index cbbb123..0000000 Binary files a/sbhs_server/tables/management/commands/initialize_machines.pyc and /dev/null differ diff --git a/sbhs_server/tables/models.pyc b/sbhs_server/tables/models.pyc deleted file mode 100644 index 7370f9a..0000000 Binary files a/sbhs_server/tables/models.pyc and /dev/null differ 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 deleted file mode 100644 index b3d3fc2..0000000 Binary files a/sbhs_server/webcam/__init__.pyc and /dev/null differ diff --git a/sbhs_server/webcam/management/__init__.pyc b/sbhs_server/webcam/management/__init__.pyc deleted file mode 100644 index be6dca2..0000000 Binary files a/sbhs_server/webcam/management/__init__.pyc and /dev/null differ diff --git a/sbhs_server/webcam/models.pyc b/sbhs_server/webcam/models.pyc deleted file mode 100644 index 9026348..0000000 Binary files a/sbhs_server/webcam/models.pyc and /dev/null differ -- cgit