diff --git a/pkgs/by-name/fr/froide-govplan/cms-fix.patch b/pkgs/by-name/fr/froide-govplan/cms-fix.patch
new file mode 100644
index 0000000000000..25d31006c40b9
--- /dev/null
+++ b/pkgs/by-name/fr/froide-govplan/cms-fix.patch
@@ -0,0 +1,41 @@
+diff --git a/froide_govplan/templates/admin/froide_govplan/governmentplan/change_form.html b/froide_govplan/templates/admin/froide_govplan/governmentplan/change_form.html
+index b512140..33e88cc 100644
+--- a/froide_govplan/templates/admin/froide_govplan/governmentplan/change_form.html
++++ b/froide_govplan/templates/admin/froide_govplan/governmentplan/change_form.html
+@@ -9,5 +9,7 @@
+
+
+ {% endif %}
+- {{ block.super }}
++ {% if block.super %}
++ {{ block.super }}
++ {% endif %}
+ {% endblock %}
+diff --git a/froide_govplan/templates/froide_govplan/admin/accept_proposal.html b/froide_govplan/templates/froide_govplan/admin/accept_proposal.html
+index 24f2b14..98ad5c4 100644
+--- a/froide_govplan/templates/froide_govplan/admin/accept_proposal.html
++++ b/froide_govplan/templates/froide_govplan/admin/accept_proposal.html
+@@ -1,7 +1,7 @@
+ {% extends "admin/change_form.html" %}
+ {% load i18n %}
+
+-{% block title %}{{ object.title }} - {{ block.super }}{% endblock %}
++{% block title %}{{ object.title }} - {% if block.super %}{{ block.super }}{% endif %}{% endblock %}
+
+
+ {% block content %}
+diff --git a/froide_govplan/templates/froide_govplan/base.html b/froide_govplan/templates/froide_govplan/base.html
+index fa9711e..1cd9773 100644
+--- a/froide_govplan/templates/froide_govplan/base.html
++++ b/froide_govplan/templates/froide_govplan/base.html
+@@ -3,7 +3,9 @@
+ {% load djangocms_alias_tags %}
+ {% load menu_tags %}
+ {% block navbar %}
+- {{ block.super }}
++ {% if block.super %}
++ {{ block.super }}
++ {% endif %}
+ {% include "snippets/breadcrumbs.html" with breadcrumbs_background="blue-10" overlay=True %}
+ {% endblock navbar %}
+ {% block body %}
diff --git a/pkgs/development/python-modules/djangocms-alias/default.nix b/pkgs/development/python-modules/djangocms-alias/default.nix
new file mode 100644
index 0000000000000..13ea2fb95823f
--- /dev/null
+++ b/pkgs/development/python-modules/djangocms-alias/default.nix
@@ -0,0 +1,48 @@
+{
+ lib,
+ buildPythonPackage,
+ fetchPypi,
+ django,
+ pythonOlder,
+ pytestCheckHook,
+ setuptools,
+ django-parler,
+ django-cms,
+}:
+
+buildPythonPackage rec {
+ pname = "djangocms-alias";
+ version = "2.0.1";
+ pyproject = true;
+
+ disabled = pythonOlder "3.7";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-M3elm8B0+qpPxIqP9xKS9HS73AT/ZPsyWwC38uHvBjE=";
+ };
+
+ build-system = [ setuptools ];
+
+ dependencies = [
+ django
+ django-cms
+ django-parler
+ ];
+
+ env.DJANGO_SETTINGS_MODULE = "tests.settings";
+
+ checkInputs = [ pytestCheckHook ];
+
+ doCheck = false;
+
+ #pythonImportCheck = [ "django-cms" ];
+
+ meta = {
+ description = "Lean enterprise content management powered by Django";
+ homepage = "https://django-cms.org";
+ changelog = "https://github.com/django-cms/django-cms/releases/tag/${version}";
+ license = lib.licenses.bsd3;
+ maintainers = [ lib.maintainers.onny ];
+ };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 9f1e200582a4c..6f6bd0f9818cf 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -3306,6 +3306,8 @@ self: super: with self; {
djangocms-admin-style = callPackage ../development/python-modules/djangocms-admin-style { };
+ djangocms-alias = callPackage ../development/python-modules/djangocms-alias { };
+
django-admin-datta = callPackage ../development/python-modules/django-admin-datta { };
django-admin-sortable2 = callPackage ../development/python-modules/django-admin-sortable2 { };