Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_django unchained
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
1
Merge Requests
1
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
Jose Emmanuel B. Laurel
widget_django unchained
Commits
43002d6f
Commit
43002d6f
authored
May 23, 2022
by
Joshua Son
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace settings.py
parent
e2d5715c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
settings.py
widget_django_unchained/widget_django_unchained/settings.py
+1
-11
No files found.
widget_django_unchained/widget_django_unchained/settings.py
View file @
43002d6f
...
@@ -12,7 +12,6 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
...
@@ -12,7 +12,6 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
import
os
import
os
from
pathlib
import
Path
from
pathlib
import
Path
import
environ
import
environ
import
os
env
=
environ
.
Env
()
env
=
environ
.
Env
()
environ
.
Env
.
read_env
()
environ
.
Env
.
read_env
()
...
@@ -126,14 +125,6 @@ USE_TZ = True
...
@@ -126,14 +125,6 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.2/howto/static-files/
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL
=
'/static/'
STATIC_URL
=
'/static/'
<<<<<<<
HEAD
MEDIA_URL
=
'/media/'
MEDIA_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'media'
)
STATICFILES_DIR
=
(
os
.
path
.
join
(
BASE_DIR
,
'statics'
)
)
=======
MEDIA_URL
=
'/images/'
MEDIA_URL
=
'/images/'
STATICFILES_DIRS
=
[
STATICFILES_DIRS
=
[
...
@@ -141,9 +132,8 @@ STATICFILES_DIRS = [
...
@@ -141,9 +132,8 @@ STATICFILES_DIRS = [
]
]
MEDIA_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'static/images'
)
MEDIA_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'static/images'
)
>>>>>>>
cfaf9ababe2607db22a5f225df2d8f007ea1dc50
# Default primary key field type
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD
=
'django.db.models.BigAutoField'
DEFAULT_AUTO_FIELD
=
'django.db.models.BigAutoField'
\ No newline at end of file
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