Add .env sample and add pycache folders to gitignore

This commit is contained in:
Keannu Bernasol 2023-12-05 00:26:58 +08:00
parent 09149223a6
commit a5952f64d6
30 changed files with 25 additions and 18 deletions

View file

@ -0,0 +1,21 @@
# Django
SECRET_KEY = ""
# Superuser Credentials
DJANGO_ADMIN_USERNAME = ""
DJANGO_ADMIN_EMAIL = ""
DJANGO_ADMIN_PASSWORD = ""
# Production Email Credentials
PROD_EMAIL_HOST = ""
PROD_EMAIL_HOST_USER = ""
PROD_EMAIL_HOST_PASSWORD = ""
PROD_EMAIL_PORT = ""
PROD_EMAIL_TLS = ""
# Dev Email Credentials
DEV_EMAIL_HOST = ""
DEV_EMAIL_HOST_USER = ""
DEV_EMAIL_HOST_PASSWORD = ""
DEV_EMAIL_PORT = ""

View file

@ -520,7 +520,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -548,7 +547,6 @@ paths:
required: true required: true
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'201': '201':
content: content:
@ -569,7 +567,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -593,7 +590,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -626,7 +622,6 @@ paths:
required: true required: true
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -658,7 +653,6 @@ paths:
$ref: '#/components/schemas/PatchedEquipmentInstance' $ref: '#/components/schemas/PatchedEquipmentInstance'
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -679,7 +673,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'204': '204':
description: No response body description: No response body
@ -690,7 +683,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -707,7 +699,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -724,7 +715,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -752,7 +742,6 @@ paths:
required: true required: true
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'201': '201':
content: content:
@ -773,7 +762,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -797,7 +785,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -830,7 +817,6 @@ paths:
required: true required: true
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -862,7 +848,6 @@ paths:
$ref: '#/components/schemas/PatchedEquipment' $ref: '#/components/schemas/PatchedEquipment'
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -883,7 +868,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'204': '204':
description: No response body description: No response body
@ -894,7 +878,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -911,7 +894,6 @@ paths:
- api - api
security: security:
- jwtAuth: [] - jwtAuth: []
- {}
responses: responses:
'200': '200':
content: content:
@ -1172,6 +1154,9 @@ components:
history_id: history_id:
type: integer type: integer
readOnly: true readOnly: true
id:
type: integer
readOnly: true
name: name:
type: string type: string
readOnly: true readOnly: true
@ -1193,6 +1178,7 @@ components:
- history_date - history_date
- history_id - history_id
- history_user - history_user
- id
- name - name
PasswordResetConfirm: PasswordResetConfirm:
type: object type: object