From e6213fd88478af8304cd66f561d3d2f55f6334a4 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 22 Oct 2024 11:11:13 +0200 Subject: [PATCH] fix: Misc --- app/settings.py | 3 +++ default.nix | 1 + npins/sources.json | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/settings.py b/app/settings.py index 2fe02b0..f94f18a 100644 --- a/app/settings.py +++ b/app/settings.py @@ -24,6 +24,8 @@ ALLOWED_HOSTS = credentials.get_json("ALLOWED_HOSTS", []) ADMINS = credentials.get_json("ADMINS", []) +SITE_ID = 1 + ### # List the installed applications @@ -68,6 +70,7 @@ MIDDLEWARE = [ "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", + "allauth.account.middleware.AccountMiddleware", ] diff --git a/default.nix b/default.nix index 152a324..987d9be 100644 --- a/default.nix +++ b/default.nix @@ -23,6 +23,7 @@ in ps.django-allauth-ens ps.django-wiki ps.loadcredential + ps.tinycss2 ])) ]; diff --git a/npins/sources.json b/npins/sources.json index 0722367..b1cf82a 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -7,9 +7,9 @@ "url": "https://git.hubrecht.ovh/hubrecht/nix-pkgs" }, "branch": "main", - "revision": "1a410e36ff817a19b3254af179c89dbf299d98b7", + "revision": "6f56463c0034d4162dabb98ee8e70d6c43214ac0", "url": null, - "hash": "1yjpy3zicrav2fq4klj7g3waphxcngkcyvm9ndd1xk6pc8977yw4" + "hash": "0dqm2n88f0yl63wacizwpjrcv51arz5z31nhwbjcbyjxrwiwxamq" }, "nixpkgs": { "type": "Channel",