Skip to content

Template doesnt update setting.py #73

@kewlguy781

Description

@kewlguy781

Bug/Issue

When launching the django with cloud.gov, the home page will show django error

Image

What was the problem?

The configuration (base.py) wasnt updated with the DIRS set under YOUR_APP_NAME

Line 54-68

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
+       'DIRS': [],

It will need have directory insert similar to the code below:

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
+       'DIRS': ['YOUR_APP_NAME/templates'],

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions