Skip to content

Commit

Permalink
Merge pull request #251 from sparcs-kaist/develop
Browse files Browse the repository at this point in the history
2021/09/27 v1.2.4 update
  • Loading branch information
jessyoon14 authored Sep 27, 2021
2 parents 5add5c1 + a810702 commit 7d4da3b
Show file tree
Hide file tree
Showing 26 changed files with 1,021 additions and 454 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
omit = venv/*
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test:
pytest tests/

test_coverage:
pytest --cov=. tests/
pytest --cov-report html --cov=. --cov-config=.coveragerc tests/

test_coverage_missing:
pytest --cov-report term-missing --cov=. tests/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ For managing docker images, we are using AWS ECR, `newara` repository.

### Framework

* `Django 3.1`
* `djangorestframework 3.10`
* `Django 3.2.4`
* `djangorestframework 3.12.4`

### Database

Expand Down
2 changes: 1 addition & 1 deletion apps/core/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ArticleDocument(Document):
created_by_nickname = fields.TextField(attr='created_by_nickname', analyzer=ngram_analyzer, search_analyzer=newline_analyzer)

class Index:
name = 'articles'
name = settings.ELASTICSEARCH_INDEX_NAME
settings = {
'number_of_shards': 3,
'number_of_replicas': 1,
Expand Down
Loading

0 comments on commit 7d4da3b

Please sign in to comment.