Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-basetheme-bootstrap
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
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
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
8e18865f
Commit
8e18865f
authored
4 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
indicate in context if is_debug
parent
04bc1372
No related branches found
No related tags found
No related merge requests found
Pipeline
#41404
passed
4 years ago
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
basetheme_bootstrap/context_processors.py
+2
-0
2 additions, 0 deletions
basetheme_bootstrap/context_processors.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
3 additions
and
1 deletion
basetheme_bootstrap/context_processors.py
+
2
−
0
View file @
8e18865f
import
logging
from
django.conf
import
settings
from
django.core.cache
import
cache
from
basetheme_bootstrap.templatetags.basetheme_bootstrap
import
basetheme_bootstrap_template_if_not_redefined
...
...
@@ -12,6 +13,7 @@ def processors(request):
return
dict
(
basetheme_bootstrap_base_template
=
get_basetheme_bootstrap_base_template
(),
pref
=
get_user_preferences_for_user
(
None
if
request
.
user
.
is_anonymous
else
request
.
user
),
is_debug
=
settings
.
DEBUG
,
)
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
8e18865f
...
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup
(
name
=
'
django-basetheme-bootstrap
'
,
version
=
'
0.2.4
6
'
,
version
=
'
0.2.4
7
'
,
description
=
'
Django Basetheme Bootstrap
'
,
long_description
=
readme
,
author
=
'
Bryan Brancotte
'
,
...
...
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