Skip to content

Commit

Permalink
Fix static assets
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamgilbert committed Nov 10, 2022
1 parent 6c8cddd commit d859b8a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/run_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ docker rm -f crypt
docker build -t macadmins/crypt .
docker run -d \
-e ADMIN_PASS=pass \
-e DEBUG=true \
-e DEBUG=false \
-e PROMETHEUS=true \
--name=crypt \
--restart="always" \
Expand Down
4 changes: 2 additions & 2 deletions fvserver/system_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@
"django.contrib.auth.context_processors.auth",
"django.template.context_processors.debug",
"django.template.context_processors.i18n",
"django.contrib.messages.context_processors.messages",
"django.template.context_processors.media",
"django.template.context_processors.static",
"django.template.context_processors.tz",
"django.contrib.messages.context_processors.messages",
"django.template.context_processors.request",
"fvserver.context_processors.crypt_version",
],
"debug": DEBUG,
Expand All @@ -133,7 +134,6 @@
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]

STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"

ROOT_URLCONF = "fvserver.urls"

Expand Down
2 changes: 1 addition & 1 deletion fvserver/version.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>version</key>
<string>3.4.1.375</string>
<string>3.4.1.378</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 4.1.2 on 2022-11-10 17:28

from django.db import migrations, models
import encrypted_model_fields.fields


class Migration(migrations.Migration):

dependencies = [
("server", "0018_auto_20201029_2134"),
]

operations = [
migrations.AlterField(
model_name="request",
name="approved",
field=models.BooleanField(null=True, verbose_name="Approved?"),
),
migrations.AlterField(
model_name="secret",
name="secret",
field=encrypted_model_fields.fields.EncryptedCharField(),
),
]

0 comments on commit d859b8a

Please sign in to comment.