Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file added Assign_Management/__pycache__/admin.cpython-37.pyc
Binary file not shown.
Binary file added Assign_Management/__pycache__/apps.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Assign_Management/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions Class_Management/Template/EditClassroom.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ <h3>Edit Classroom</h3>
<option value='{{ i.pk }}'> {{ i.get_full_name }}</option>
{% endfor %}
</select>
<<<<<<< HEAD
<input type="submit" value="Update">
=======
<input type="submit" value="Save">
>>>>>>> b12993777cc60f0e693458acf21e87aec969b9e1
</form>
</div>
</div>
Expand Down
Binary file added Class_Management/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added Class_Management/__pycache__/admin.cpython-37.pyc
Binary file not shown.
Binary file added Class_Management/__pycache__/apps.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file added Class_Management/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file added Class_Management/__pycache__/views.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added LogIn_Management/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added LogIn_Management/__pycache__/admin.cpython-37.pyc
Binary file not shown.
Binary file added LogIn_Management/__pycache__/apps.cpython-37.pyc
Binary file not shown.
Binary file added LogIn_Management/__pycache__/forms.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file added LogIn_Management/__pycache__/views.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added SamingDev/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added SamingDev/__pycache__/settings.cpython-37.pyc
Binary file not shown.
Binary file added SamingDev/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file added SamingDev/__pycache__/wsgi.cpython-37.pyc
Binary file not shown.
22 changes: 11 additions & 11 deletions SamingDev/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
SECRET_KEY = '$(dz!yau&t9ct!opo59%5m4(egv(vz&avl4=pu!qq+&$-o-jjm'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True

ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'web']

Expand Down Expand Up @@ -88,18 +88,18 @@
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases

DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.postgresql',
# 'NAME': 'postgres',
# 'USER': 'postgres',
# 'PASSWORD': 'pengza78',
# 'HOST': 'db',
# 'PORT': 5432
#}
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'PASSWORD': 'pengza78',
'HOST': 'db',
'PORT': 5432
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
#'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
#}
}


Expand Down
Binary file modified db.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ timeout-decorator
#docker
#redis
#autograder-sandbox
psycopg2-binary
psycopg2
mosspy