CodeForPhilly / CodeForPhilly/third-places

Add a block to the update script to create default superuser

Offen
#45 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
django docker documentation
Vorherrschende Sprache
Python
Sterne
8
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

# 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/)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der Prüfung des blockierten Issue #5 und finde dann das Update-Skript sowie den Development-Build-Pfad, der es ausführt. Bestätige, wie der Django-Container aufgerufen wird, füge das Verhalten für das Standardkonto nur in der Entwicklung hinzu und aktualisiere die Setup-Anweisungen mit den angegebenen Zugangsdaten; als erledigt gilt die Aufgabe, wenn die Produktion das Konto nicht erstellt und Entwickler Django admin verwenden können.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
django, python
Bereich
backend, devops, documentation
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.