Skip to content

Commit

Permalink
WIP CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
MorganeAD committed Feb 28, 2023
1 parent a928e5d commit b173631
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ test: \
.PHONY: test

test-back: ## run back-end tests
bin/pytest
@args="$(filter-out $@,$(MAKECMDGOALS))" && \
bin/pytest $${args:-${1}}
.PHONY: test-back


Expand All @@ -170,6 +171,10 @@ superuser: ## create a Django superuser
@$(MANAGE) createsuperuser
.PHONY: superuser

shell: ## connect to database shell
@$(MANAGE) shell_plus
.PHONY: dbshell

# -- Database

dbshell: ## connect to database shell
Expand Down
2 changes: 1 addition & 1 deletion src/backend/joanie/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ class Development(Base):

def __init__(self):
# pylint: disable=invalid-name
self.INSTALLED_APPS += ["drf_yasg"]
self.INSTALLED_APPS += ["drf_yasg", "django_extensions"]


class Test(Base):
Expand Down
1 change: 1 addition & 0 deletions src/backend/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ dev =
bandit==1.7.4
black==23.1.0
cssselect==1.2.0
django-extensions==3.2.1
drf-yasg==1.21.5
flake8==6.0.0
ipdb==0.13.11
Expand Down

0 comments on commit b173631

Please sign in to comment.