CodeForPhilly / CodeForPhilly/third-places

Add a block to the update script to create default superuser

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
django docker documentation
Dominant language
Python
Stars
8
Forks
6
PR merge metrics
No merged PRs in 30d

Description

# Overview

Add a block of code that execs into the django container and creates a superuser for development. A [django superuser](https://docs.djangoproject.com/en/1.8/intro/tutorial02/) is a user that can view and edit objects and pages in the django admin. This account will be built with the application update and allow devs to see the backend data and manipulate it.

This user should only be created in the development build, not production
This user should have a generic username, fake email, and password and these attributes should be added to the setup instructions

# Context

Blocked by #5

# Suggested solution (optional)

[Superuser and admin tutorial](https://docs.djangoproject.com/en/1.8/intro/tutorial02/)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.