Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_princessgabi
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
Ysabella Panghulan
midterm_princessgabi
Commits
7b6c653f
Commit
7b6c653f
authored
May 15, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added and fixed pythonanywhere configuration
parent
37f7c949
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
base.css
widget_princessgabi/static/base.css
+0
-0
forms.css
widget_princessgabi/static/forms.css
+0
-0
base.html
widget_princessgabi/templates/base.html
+1
-1
settings.py
widget_princessgabi/widget_princessgabi/settings.py
+3
-3
No files found.
widget_princessgabi/static/
stylesheets/
base.css
→
widget_princessgabi/static/base.css
View file @
7b6c653f
File moved
widget_princessgabi/static/
stylesheets/
forms.css
→
widget_princessgabi/static/forms.css
View file @
7b6c653f
File moved
widget_princessgabi/templates/base.html
View file @
7b6c653f
...
...
@@ -7,7 +7,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
{% block title %} {% endblock %}
</title>
{% load static %}
<link
rel=
"stylesheet"
href=
"{
% static 'stylesheets/base.css' %}
"
type=
"text/css"
>
<link
rel=
"stylesheet"
href=
"{
{ STATIC_URL }}/static/base.css
"
type=
"text/css"
>
{% block stylesheets %}{% endblock %}
</head>
...
...
widget_princessgabi/widget_princessgabi/settings.py
View file @
7b6c653f
...
...
@@ -24,12 +24,12 @@ 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
=
os
.
getenv
(
'SECRET_KEY'
)
SECRET_KEY
=
'django-insecure-yf^au+^2_=a0lpy&05)znoh@2kh)!lnhida^b^8r@#14yu
%5
nl'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
ALLOWED_HOSTS
=
[
'
http://panghu.pythonanywhere.com/
'
]
ALLOWED_HOSTS
=
[
'
panghu.pythonanywhere.com
'
]
# Application definition
...
...
@@ -127,8 +127,8 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL
=
'/static/'
STATIC_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'static'
)
STATICFILES_DIRS
=
[
BASE_DIR
/
"static"
,
'dashboard/static/dashboard'
,
'forum/static/forum'
,
'assignments/static/assignments'
,
...
...
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