Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
hemp
Maják
Commits
0e756017
Commit
0e756017
authored
4 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
majak: Redis cache
parent
8a8108c5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
majak/settings/base.py
+6
-0
6 additions, 0 deletions
majak/settings/base.py
requirements/base.in
+1
-0
1 addition, 0 deletions
requirements/base.in
requirements/base.txt
+3
-1
3 additions, 1 deletion
requirements/base.txt
with
10 additions
and
1 deletion
majak/settings/base.py
+
6
−
0
View file @
0e756017
...
...
@@ -164,6 +164,12 @@ LOGGING = {
"
root
"
:
{
"
level
"
:
"
INFO
"
,
"
handlers
"
:
[
"
console
"
]},
}
# CACHES
# ------------------------------------------------------------------------------
CACHES
=
{
"
default
"
:
env
.
cache
(
"
CACHE_URL
"
,
default
=
"
locmemcache://
"
),
}
# WAGTAIL SETTINGS
# ------------------------------------------------------------------------------
WAGTAIL_SITE_NAME
=
"
Maják
"
...
...
This diff is collapsed.
Click to expand it.
requirements/base.in
+
1
−
0
View file @
0e756017
...
...
@@ -2,6 +2,7 @@ wagtail
wagtailmenus
django-environ
django-extensions
django-redis
psycopg2-binary
pirates<=0.4
whitenoise
...
...
This diff is collapsed.
Click to expand it.
requirements/base.txt
+
3
−
1
View file @
0e756017
...
...
@@ -15,9 +15,10 @@ django-cogwheels==0.3 # via wagtailmenus
django-environ==0.4.5 # via -r base.in
django-extensions==2.2.9 # via -r base.in
django-modelcluster==5.0.1 # via wagtail
django-redis==4.12.1 # via -r base.in
django-taggit==1.2.0 # via wagtail
django-treebeard==4.3.1 # via wagtail
django==3.0.6 # via django-taggit, django-treebeard, djangorestframework, mozilla-django-oidc, wagtail
django==3.0.6 # via
django-redis,
django-taggit, django-treebeard, djangorestframework, mozilla-django-oidc, wagtail
djangorestframework==3.11.0 # via wagtail
draftjs-exporter==2.1.7 # via wagtail
html5lib==1.0.1 # via wagtail
...
...
@@ -38,6 +39,7 @@ pyopenssl==19.1.0 # via josepy
python-dateutil==2.8.1 # via arrow, ics
python-ldap==3.2.0 # via pirates
pytz==2020.1 # via django, django-modelcluster, l18n
redis==3.5.2 # via django-redis
requests==2.23.0 # via -r base.in, mozilla-django-oidc, wagtail
six==1.14.0 # via cryptography, django-extensions, html5lib, ics, josepy, l18n, mozilla-django-oidc, pyopenssl, python-dateutil
soupsieve==2.0 # via beautifulsoup4
...
...
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