Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_huli
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Izaac Daniel B. Muncal
midterm_huli
Commits
d0a860d0
Commit
d0a860d0
authored
Mar 04, 2023
by
Izaac Daniel B. Muncal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit for other files
parent
4dabe62a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
+14
-4
.env
.env
+0
-1
__init__.py
widget_huli/dashboard/__init__.py
+0
-0
apps.py
widget_huli/dashboard/apps.py
+6
-0
tests.py
widget_huli/dashboard/tests.py
+3
-0
settings.py
widget_huli/widget_huli/settings.py
+5
-3
No files found.
.env
deleted
100644 → 0
View file @
4dabe62a
SECRET_KEY = 'django-insecure-gteg#r+a3^&nw_f+1)zcy#m72jv-i)wqfktiz$+#*6zem+6h^9'
\ No newline at end of file
widget_huli/dashboard/__init__.py
0 → 100644
View file @
d0a860d0
widget_huli/dashboard/apps.py
0 → 100644
View file @
d0a860d0
from
django.apps
import
AppConfig
class
DashboardConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'dashboard'
widget_huli/dashboard/tests.py
0 → 100644
View file @
d0a860d0
from
django.test
import
TestCase
# Create your tests here.
widget_huli/widget_huli/settings.py
View file @
d0a860d0
...
@@ -9,7 +9,10 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
...
@@ -9,7 +9,10 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
https://docs.djangoproject.com/en/4.1/ref/settings/
"""
"""
import
os
from
dotenv
import
load_dotenv
load_dotenv
()
from
pathlib
import
Path
from
pathlib
import
Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
# Build paths inside the project like this: BASE_DIR / 'subdir'.
...
@@ -19,9 +22,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
...
@@ -19,9 +22,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# Quick-start development settings - unsuitable for production
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
os
.
getenv
(
'SECRET_KEY'
)
SECRET_KEY
=
'django-insecure-gteg#r+a3^&nw_f+1)zcy#m72jv-i)wqfktiz$+#*6zem+6h^9'
# SECURITY WARNING: don't run with debug turned on in production!
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
DEBUG
=
True
...
@@ -31,6 +32,7 @@ ALLOWED_HOSTS = []
...
@@ -31,6 +32,7 @@ ALLOWED_HOSTS = []
# Application definition
# Application definition
INSTALLED_APPS
=
[
INSTALLED_APPS
=
[
'dashboard'
,
'django.contrib.admin'
,
'django.contrib.admin'
,
'django.contrib.auth'
,
'django.contrib.auth'
,
'django.contrib.contenttypes'
,
'django.contrib.contenttypes'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment