The SIO2 project
  1. The SIO2 project
  2. SIO-1816

Fix caching templates only when Debug=False

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: TAG 2015/16
    • Component/s: OIOIOI
    • Labels:
      None

      Description

      Currently we always cache them, because the if in default_settings is obviously taking a Debug from default_settings, not settings.

      By the way we might want to migrate TEMPLATE_* settings to TEMPLATES.

      https://docs.djangoproject.com/en/1.9/ref/templates/upgrading/

        Activity

        Hide
        Gerrit Gerrit added a comment -
        Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 2
        https://gerrit.sio2project.mimuw.edu.pl/2580

        SIO-1816 Do not lie.

        Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e
        Show
        Gerrit Gerrit added a comment - Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 2 https://gerrit.sio2project.mimuw.edu.pl/2580 SIO-1816 Do not lie. Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e
        Hide
        Gerrit Gerrit added a comment -
        Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 3
        https://gerrit.sio2project.mimuw.edu.pl/2580

        SIO-1816 Fix caching templates setting

        Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e
        Show
        Gerrit Gerrit added a comment - Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 3 https://gerrit.sio2project.mimuw.edu.pl/2580 SIO-1816 Fix caching templates setting Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e
        Hide
        Gerrit Gerrit added a comment -
        Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 4
        https://gerrit.sio2project.mimuw.edu.pl/2580

        SIO-1816 Fix caching templates setting

        Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e
        Show
        Gerrit Gerrit added a comment - Change I65f161114bda7733cc01464a8d6aafb933999d4e, patchset 4 https://gerrit.sio2project.mimuw.edu.pl/2580 SIO-1816 Fix caching templates setting Change-Id: I65f161114bda7733cc01464a8d6aafb933999d4e

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Michał Łazowik
            TAG Developer:
            Michał Łazowik
            TAG Reviewer:
            Mateusz Śmiech
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: