Skip to content

Commit

Permalink
fix: add code_jail to be able to edit it trough patches
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed May 22, 2024
1 parent 091e3f7 commit 5c33ccc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutorcodejail/templates/codejail/apps/config/tutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
class DevelopmentConfig(DevelopmentConfig):
"""Class to use for development context that inherits from DevelopmentConfig."""

CODE_JAIL = DevelopmentConfig.CODE_JAIL
{{patch("codejail-common-settings")}}
{{patch("codejail-development-settings")}}


class ProductionConfig(ProductionConfig):
"""Class to use for production context that inherits from ProductionConfig."""

CODE_JAIL = ProductionConfig.CODE_JAIL
{{patch("codejail-common-settings")}}
{{patch("codejail-production-settings")}}

0 comments on commit 5c33ccc

Please sign in to comment.