Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
joaqscrisologo_reading
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
Joaquin Inigo Crisologo
joaqscrisologo_reading
Commits
98c891ec
Commit
98c891ec
authored
Mar 28, 2023
by
Joaquin Inigo Crisologo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix name of project (oops) and add .env
parent
b8fd08c2
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
10 deletions
+16
-10
.env
joaqscrisologo_reading/.env
+2
-0
db.sqlite3
joaqscrisologo_reading/db.sqlite3
+0
-0
__init__.py
joaqscrisologo_reading/joaqscrisologo_reading/__init__.py
+0
-0
__init__.cpython-39.pyc
...oaqscrisologo_reading/__pycache__/__init__.cpython-39.pyc
+0
-0
settings.cpython-39.pyc
...oaqscrisologo_reading/__pycache__/settings.cpython-39.pyc
+0
-0
urls.cpython-39.pyc
...ng/joaqscrisologo_reading/__pycache__/urls.cpython-39.pyc
+0
-0
wsgi.cpython-39.pyc
...ng/joaqscrisologo_reading/__pycache__/wsgi.cpython-39.pyc
+0
-0
asgi.py
joaqscrisologo_reading/joaqscrisologo_reading/asgi.py
+2
-2
settings.py
joaqscrisologo_reading/joaqscrisologo_reading/settings.py
+8
-4
urls.py
joaqscrisologo_reading/joaqscrisologo_reading/urls.py
+1
-1
wsgi.py
joaqscrisologo_reading/joaqscrisologo_reading/wsgi.py
+2
-2
manage.py
joaqscrisologo_reading/manage.py
+1
-1
No files found.
joaqscrisologo_reading/.env
0 → 100644
View file @
98c891ec
SECRET_KEY='django-insecure-u6#5zek9&qk7#it0(jodmfl%pm8j53!#*jo#*ct0xxn45mi9$g'
STATIC_ROOT='<folder path of where static items>'
\ No newline at end of file
joaqscrisologo_
music/joaqscrisologo_music/__init__.py
→
joaqscrisologo_
reading/db.sqlite3
View file @
98c891ec
File moved
joaqscrisologo_reading/joaqscrisologo_reading/__init__.py
0 → 100644
View file @
98c891ec
joaqscrisologo_reading/joaqscrisologo_reading/__pycache__/__init__.cpython-39.pyc
0 → 100644
View file @
98c891ec
File added
joaqscrisologo_reading/joaqscrisologo_reading/__pycache__/settings.cpython-39.pyc
0 → 100644
View file @
98c891ec
File added
joaqscrisologo_reading/joaqscrisologo_reading/__pycache__/urls.cpython-39.pyc
0 → 100644
View file @
98c891ec
File added
joaqscrisologo_reading/joaqscrisologo_reading/__pycache__/wsgi.cpython-39.pyc
0 → 100644
View file @
98c891ec
File added
joaqscrisologo_
music/joaqscrisologo_music
/asgi.py
→
joaqscrisologo_
reading/joaqscrisologo_reading
/asgi.py
View file @
98c891ec
"""
ASGI config for joaqscrisologo_
music
project.
ASGI config for joaqscrisologo_
reading
project.
It exposes the ASGI callable as a module-level variable named ``application``.
...
...
@@ -11,6 +11,6 @@ import os
from
django.core.asgi
import
get_asgi_application
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
music
.settings'
)
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
reading
.settings'
)
application
=
get_asgi_application
()
joaqscrisologo_
music/joaqscrisologo_music
/settings.py
→
joaqscrisologo_
reading/joaqscrisologo_reading
/settings.py
View file @
98c891ec
"""
Django settings for joaqscrisologo_
music
project.
Django settings for joaqscrisologo_
reading
project.
Generated by 'django-admin startproject' using Django 3.2.
...
...
@@ -11,6 +11,10 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
"""
from
pathlib
import
Path
import
os
from
dotenv
import
load_dotenv
load_dotenv
()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR
=
Path
(
__file__
)
.
resolve
()
.
parent
.
parent
...
...
@@ -20,7 +24,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'django-insecure-srovlxbfgwq+^t#)=-+64dv7u_pr!gfykz0=-g_qi(!i-d1&3@'
SECRET_KEY
=
os
.
getenv
(
'SECRET_KEY'
)
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
...
...
@@ -49,7 +53,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware'
,
]
ROOT_URLCONF
=
'joaqscrisologo_
music
.urls'
ROOT_URLCONF
=
'joaqscrisologo_
reading
.urls'
TEMPLATES
=
[
{
...
...
@@ -67,7 +71,7 @@ TEMPLATES = [
},
]
WSGI_APPLICATION
=
'joaqscrisologo_
music
.wsgi.application'
WSGI_APPLICATION
=
'joaqscrisologo_
reading
.wsgi.application'
# Database
...
...
joaqscrisologo_
music/joaqscrisologo_music
/urls.py
→
joaqscrisologo_
reading/joaqscrisologo_reading
/urls.py
View file @
98c891ec
"""joaqscrisologo_
music
URL Configuration
"""joaqscrisologo_
reading
URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.2/topics/http/urls/
...
...
joaqscrisologo_
music/joaqscrisologo_music
/wsgi.py
→
joaqscrisologo_
reading/joaqscrisologo_reading
/wsgi.py
View file @
98c891ec
"""
WSGI config for joaqscrisologo_
music
project.
WSGI config for joaqscrisologo_
reading
project.
It exposes the WSGI callable as a module-level variable named ``application``.
...
...
@@ -11,6 +11,6 @@ import os
from
django.core.wsgi
import
get_wsgi_application
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
music
.settings'
)
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
reading
.settings'
)
application
=
get_wsgi_application
()
joaqscrisologo_
music
/manage.py
→
joaqscrisologo_
reading
/manage.py
View file @
98c891ec
...
...
@@ -6,7 +6,7 @@ import sys
def
main
():
"""Run administrative tasks."""
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
music
.settings'
)
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
reading
.settings'
)
try
:
from
django.core.management
import
execute_from_command_line
except
ImportError
as
exc
:
...
...
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