This commit is contained in:
Jonas Heinrich 2025-04-10 08:47:00 +02:00
parent c62c1b2c1b
commit 5b4e779145
2 changed files with 16 additions and 2 deletions

View file

@ -38,6 +38,21 @@
cores = 4;
};
nixpkgs = {
overlays = [
(self: super: {
froide-govplan = nixpkgs-master.froide-govplan.overridePythonAttrs (oldAttrs: {
src = pkgs.fetchFromGitHub {
owner = "onny";
repo = "froide-govplan";
rev = "b0bc48da19c40ac7288da088638a0c699075c556";
hash = "sha256-wvI6HdDZnp45cRVXxiiWWyGZMd1rCT7r3NQk1Fa/oS4=";
};
});
})
];
};
services.froide-govplan = {
enable = true;
settings = {

View file

@ -80,7 +80,6 @@ class GovPlanDetailView(GovernmentMixin, DetailView):
"-timestamp"
)
context["section"] = self.object.get_section()
if self.request.user.is_authenticated:
context["update_proposal_form"] = GovernmentPlanUpdateProposalForm()
# For CMS toolbar
self.request.govplan = self.object