Pamela Fox
commited on
Commit
·
78b97ed
1
Parent(s):
d67a770
Whitespace fixes
Browse files- .devcontainer/Dockerfile +1 -1
- .devcontainer/docker-compose.yml +1 -1
- .env.sample +1 -1
- .vscode/settings.json +1 -1
- README.md +1 -1
- quizzes/templates/quizzes/index.html +1 -1
- quizzes/templates/quizzes/partial.html +1 -1
.devcontainer/Dockerfile
CHANGED
|
@@ -6,4 +6,4 @@ RUN curl -fsSL https://aka.ms/install-azd.sh | bash
|
|
| 6 |
ENV PYTHONUNBUFFERED 1
|
| 7 |
|
| 8 |
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
| 9 |
-
&& apt-get -y install --no-install-recommends postgresql-client
|
|
|
|
| 6 |
ENV PYTHONUNBUFFERED 1
|
| 7 |
|
| 8 |
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
| 9 |
+
&& apt-get -y install --no-install-recommends postgresql-client
|
.devcontainer/docker-compose.yml
CHANGED
|
@@ -35,4 +35,4 @@ services:
|
|
| 35 |
# (Adding the "ports" property to this file will not forward from a Codespace.)
|
| 36 |
|
| 37 |
volumes:
|
| 38 |
-
postgres-data:
|
|
|
|
| 35 |
# (Adding the "ports" property to this file will not forward from a Codespace.)
|
| 36 |
|
| 37 |
volumes:
|
| 38 |
+
postgres-data:
|
.env.sample
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
DBHOST=localhost
|
| 2 |
DBNAME=app
|
| 3 |
DBUSER=app_user
|
| 4 |
-
DBPASS=app_password
|
|
|
|
| 1 |
DBHOST=localhost
|
| 2 |
DBNAME=app
|
| 3 |
DBUSER=app_user
|
| 4 |
+
DBPASS=app_password
|
.vscode/settings.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
"appService.defaultWebAppToDeploy": "/subscriptions/74feb6f3-f646-478d-a99b-37fafee75e29/microsoft.web/sites/subscriptions/74feb6f3-f646-478d-a99b-37fafee75e29/resourceGroups/django-example-quizsite/providers/Microsoft.Web/sites/django-example-quizsite",
|
| 3 |
"appService.deploySubpath": "."
|
| 4 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"appService.defaultWebAppToDeploy": "/subscriptions/74feb6f3-f646-478d-a99b-37fafee75e29/microsoft.web/sites/subscriptions/74feb6f3-f646-478d-a99b-37fafee75e29/resourceGroups/django-example-quizsite/providers/Microsoft.Web/sites/django-example-quizsite",
|
| 3 |
"appService.deploySubpath": "."
|
| 4 |
+
}
|
README.md
CHANGED
|
@@ -51,7 +51,7 @@ This app comes with the built-in Django admin.
|
|
| 51 |
python manage.py createsuperuser
|
| 52 |
```
|
| 53 |
|
| 54 |
-
2. Restart the server and navigate to "/admin"
|
| 55 |
|
| 56 |
3. Login with the superuser credentials.
|
| 57 |
|
|
|
|
| 51 |
python manage.py createsuperuser
|
| 52 |
```
|
| 53 |
|
| 54 |
+
2. Restart the server and navigate to "/admin"
|
| 55 |
|
| 56 |
3. Login with the superuser credentials.
|
| 57 |
|
quizzes/templates/quizzes/index.html
CHANGED
|
@@ -21,4 +21,4 @@
|
|
| 21 |
</div>
|
| 22 |
|
| 23 |
</body>
|
| 24 |
-
</html>
|
|
|
|
| 21 |
</div>
|
| 22 |
|
| 23 |
</body>
|
| 24 |
+
</html>
|
quizzes/templates/quizzes/partial.html
CHANGED
|
@@ -2,4 +2,4 @@
|
|
| 2 |
✅ You got it!
|
| 3 |
{% else %}
|
| 4 |
❌ Sorry! The correct answer is {{ correct_answer }}
|
| 5 |
-
{% endif %}
|
|
|
|
| 2 |
✅ You got it!
|
| 3 |
{% else %}
|
| 4 |
❌ Sorry! The correct answer is {{ correct_answer }}
|
| 5 |
+
{% endif %}
|