hacking
This commit is contained in:
parent
c62c1b2c1b
commit
5b4e779145
2 changed files with 16 additions and 2 deletions
15
flake.nix
15
flake.nix
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue