Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Commit

Permalink
se#394 Use custom redirects app
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Jul 13, 2018
1 parent f80699c commit 60f1845
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
# contains refarm-site modules
- $DEPS_DIR
# Thus, you can work with apps related to the refarm-site
# - $REFARM_SRC/stbarch:/root/.local/lib/python3.6/site-packages/stbarch
#- $REFARM_DIR/stbarch:/root/.local/lib/python3.6/site-packages/stbarch
# @todo #150 Validate if `.env` is full
# Is full means '.env` contains all keynames from `.env.dist`
command: python manage.py runserver 0.0.0.0:$VIRTUAL_HOST_PORT
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ Unidecode==1.0.22
ua-parser==0.8.0
user-agents==1.1.0
https://github.com/selwin/django-user_agents/archive/master.zip
https://github.com/fidals/refarm-site/archive/0.1.6.zip
https://github.com/fidals/refarm-site/archive/0.1.7.zip
2 changes: 2 additions & 0 deletions stroyprombeton/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'django.contrib.admin',
'django_select2',
'images',
'refarm_redirects',
'pages',
'search',
'catalog',
Expand All @@ -72,6 +73,7 @@
'django.middleware.locale.LocaleMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django_user_agents.middleware.UserAgentMiddleware',
'refarm_redirects.middleware.RedirectAllMiddleware',
]

ROOT_URLCONF = 'stroyprombeton.urls'
Expand Down

0 comments on commit 60f1845

Please sign in to comment.