Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AKPlanning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIF
AKPlanning
Commits
27603d3a
Commit
27603d3a
authored
1 year ago
by
Nils Steinger
Committed by
Nadja Geisler
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Configure django-bootstrap-datepicker-plus to use local files instead of CDN
parent
e27b2d16
No related branches found
No related tags found
1 merge request
!193
Use local files (not CDN) for datepicker
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AKPlanning/settings.py
+10
-0
10 additions, 0 deletions
AKPlanning/settings.py
with
10 additions
and
0 deletions
AKPlanning/settings.py
+
10
−
0
View file @
27603d3a
...
...
@@ -180,6 +180,16 @@ BOOTSTRAP5 = {
FONTAWESOME_6_CSS_URL
=
STATIC_URL
+
"
fontawesomefree/css/all.min.css
"
FONTAWESOME_6_PREFIX
=
"
fa
"
# Settings for monim67/django-bootstrap-datepicker-plus
BOOTSTRAP_DATEPICKER_PLUS
=
{
# defaults: https://github.com/monim67/django-bootstrap-datepicker-plus/blob/5.0.0/src/bootstrap_datepicker_plus/settings.py#L16
"
datetimepicker_js_url
"
:
"
common/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js
"
,
"
datetimepicker_css_url
"
:
"
common/vendor/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css
"
,
"
momentjs_url
"
:
"
common/vendor/moment/moment-with-locales.js
"
,
"
bootstrap_icon_css_url
"
:
"
common/vendor/bootstrap-icons/bootstrap-icons.css
"
,
"
app_static_url
"
:
"
common/vendor/django-bootstrap-datepicker-plus/src/bootstrap_datepicker_plus/static/bootstrap_datepicker_plus/
"
,
}
# Compressor and minifier config
COMPRESS_ENABLED
=
True
COMPRESS_CSS_HASHING_METHOD
=
'
content
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment