forked from rc/aircox
Feat: packaging (#127)
- Add configuration files for packaging - Precommit now uses ruff Co-authored-by: bkfox <thomas bkfox net> Reviewed-on: rc/aircox#127
This commit is contained in:
@ -12,9 +12,7 @@ class BaseProgramMixin:
|
||||
return self.object
|
||||
|
||||
def get_sidebar_url(self):
|
||||
return reverse(
|
||||
"program-page-list", kwargs={"parent_slug": self.program.slug}
|
||||
)
|
||||
return reverse("program-page-list", kwargs={"parent_slug": self.program.slug})
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
self.program = self.get_program()
|
||||
|
Reference in New Issue
Block a user