Skip to content

template Django - problem with SECRET_KEY in environment variable #620

Open
@matthieumarrast

Description

@matthieumarrast

Problem

The default SECRET_KEY (generated during django startproject) can have special characters which cannot be used in a metwork environment variable.
Whereas it is useful to set this key in environment variable. For security reasons.

Possible solution

Identify the involved characters (maybe %, $, {}...) and remove or replace them in the postinstall script of the django template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions