Skip to content

Modify some settings under project's settings.py #4

Description

@backup1-technicise

To enable causes of error during execution

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

Add our app emp_CRUD and Djangorestframework into our Django project

# Application definition
INSTALLED_APPS = [
    # Uncomment the next line to enable the admin:
    #'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django.contrib.sites',
    'rest_framework', # Inclusion of Djangorestframework for REST API
    #'emp_CRUD',  # For Django <= 1.9
    'emp_CRUD.apps.EmpCrudConfig' # Inclusion of APP for Django > 1.9
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions