Skip to content

Commit edfaaed

Browse files
committed
Rcmenu Beta 1.0
1 parent f255671 commit edfaaed

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

config/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def get_secret(setting, secrets=secrets):
3838

3939

4040
# SECURITY WARNING: don't run with debug turned on in production!
41-
DEBUG = True
41+
DEBUG = False
4242

4343
ALLOWED_HOSTS = []
4444

config/settings/local.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
DB_PASSWORD = get_secret("DB_PASSWORD")
66
DB_HOST = get_secret("DB_HOST")
77
DB_PORT = get_secret("DB_PORT")
8-
9-
ALLOWED_HOSTS = []
8+
ALLOWED_HOSTS = ['*']
109
DATABASES = {
1110
'default': {
1211
'ENGINE': 'django.db.backends.mysql',

templates/bootrc/recom_menu_test.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ <h3 class="text-center">{{user.username}}님에게 이 식당을 추천드려요
1313
<div class="py-3 text-center alert alert-info" role="alert">
1414
<h4>추천 맛집 : <strong>{{ menu.rest.rest_name}}</strong></h4>
1515
<h4>추천 메뉴 : <strong>{{ menu.rest_menu }}</strong></h4>
16-
<h4>별점 :<strong>{{ menu.rest.rest_star}}점</strong></h4>
17-
<h4>운영 시간 :<strong>{{ menu.rest.opening_time }} ~ {{ menu.rest.closing_time }}</strong></h4>
18-
<h4>거리 :<strong>{{menu.rest.rest_distance_fromBD }}</strong></h4>
16+
<h4>별점 : <strong>{{ menu.rest.rest_star}}점</strong></h4>
17+
<h4>운영 시간 : <strong>{{ menu.rest.opening_time }} ~ {{ menu.rest.closing_time }}</strong></h4>
18+
<h4>전주대 구정문에서의 거리 : <strong>{{ menu.rest.rest_distance_fromBD }}m</strong></h4>
1919
{% if menu.rest.phone_number %}
20-
<h4>가게 번호 :<strong>{{ menu.rest.phone_number }}</strong></h4>
20+
<h4>가게 번호 : <strong>{{ menu.rest.phone_number }}</strong></h4>
2121
{% endif %}
22-
<h4>주소 :<strong>{{ menu.rest.address }}</strong></h4>
22+
<h4>주소 : <strong>{{ menu.rest.address }}</strong></h4>
2323
{% if review.comment %}
2424
<h4>리뷰 메뉴 : <strong>{{ review.menu_name }}</strong></h4>
25-
<h4>리뷰 :<strong>{{ review.comment }}</strong></h4>
25+
<h4>리뷰(요기요): <strong>{{ review.comment }}</strong></h4>
2626
{% endif %}
2727
{% if app.comment %}
28-
<h4>앱 리뷰 :<strong>{{ app.comment }}</strong></h4>
28+
<h4>앱 리뷰 : <strong>{{ app.comment }}</strong></h4>
2929
{% endif %}
3030
</div>
3131
<div style="position: relative" >

0 commit comments

Comments
 (0)