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
Show 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``.
It exposes the ASGI callable as a module-level variable named ``application``.
...
@@ -11,6 +11,6 @@ import os
...
@@ -11,6 +11,6 @@ import os
from
django.core.asgi
import
get_asgi_application
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
()
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.
Generated by 'django-admin startproject' using Django 3.2.
...
@@ -11,6 +11,10 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
...
@@ -11,6 +11,10 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
"""
"""
from
pathlib
import
Path
from
pathlib
import
Path
import
os
from
dotenv
import
load_dotenv
load_dotenv
()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR
=
Path
(
__file__
)
.
resolve
()
.
parent
.
parent
BASE_DIR
=
Path
(
__file__
)
.
resolve
()
.
parent
.
parent
...
@@ -20,7 +24,7 @@ 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/
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
# 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!
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
DEBUG
=
True
...
@@ -49,7 +53,7 @@ MIDDLEWARE = [
...
@@ -49,7 +53,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware'
,
'django.middleware.clickjacking.XFrameOptionsMiddleware'
,
]
]
ROOT_URLCONF
=
'joaqscrisologo_
music
.urls'
ROOT_URLCONF
=
'joaqscrisologo_
reading
.urls'
TEMPLATES
=
[
TEMPLATES
=
[
{
{
...
@@ -67,7 +71,7 @@ TEMPLATES = [
...
@@ -67,7 +71,7 @@ TEMPLATES = [
},
},
]
]
WSGI_APPLICATION
=
'joaqscrisologo_
music
.wsgi.application'
WSGI_APPLICATION
=
'joaqscrisologo_
reading
.wsgi.application'
# Database
# 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:
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.2/topics/http/urls/
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``.
It exposes the WSGI callable as a module-level variable named ``application``.
...
@@ -11,6 +11,6 @@ import os
...
@@ -11,6 +11,6 @@ import os
from
django.core.wsgi
import
get_wsgi_application
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
()
application
=
get_wsgi_application
()
joaqscrisologo_
music
/manage.py
→
joaqscrisologo_
reading
/manage.py
View file @
98c891ec
...
@@ -6,7 +6,7 @@ import sys
...
@@ -6,7 +6,7 @@ import sys
def
main
():
def
main
():
"""Run administrative tasks."""
"""Run administrative tasks."""
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
music
.settings'
)
os
.
environ
.
setdefault
(
'DJANGO_SETTINGS_MODULE'
,
'joaqscrisologo_
reading
.settings'
)
try
:
try
:
from
django.core.management
import
execute_from_command_line
from
django.core.management
import
execute_from_command_line
except
ImportError
as
exc
:
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