Commit 0a6e0623 authored by Jon Yu's avatar Jon Yu
Browse files
parent e05233e2
...@@ -9,4 +9,4 @@ services: ...@@ -9,4 +9,4 @@ services:
volumes: volumes:
- .:/usr/src/app - .:/usr/src/app
entrypoint: ../docker-entrypoint.sh entrypoint: ../docker-entrypoint.sh
command: "python3 manage.py runserver 0.0.0.0:8000" command: "python3 manage.py runserver 0.0.0.0:8000 --nostatic"
...@@ -57,13 +57,14 @@ EXTRA_APPS = [ ...@@ -57,13 +57,14 @@ EXTRA_APPS = [
] ]
INSTALLED_APPS = [ INSTALLED_APPS = [
*EXTRA_APPS,
'django.contrib.admin', 'django.contrib.admin',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles' 'django.contrib.staticfiles'
] + EXTRA_APPS ]
MIDDLEWARE = [ MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware', 'django.middleware.security.SecurityMiddleware',
......
{% extends "admin/login.html" %}
{% block content %}
<br/>
<h1 style="text-align: center"><a class="button" href="{% url 'oidc_authentication_init' %}">Click Here to Login with SSO</a></h1>
<br/>
<details>
<summary><small>Or use the back door...</small></summary>
{{ block.super }}
</details>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment