Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
added django-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystianOg committed Oct 13, 2022
1 parent f2d99c1 commit 2da7f18
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,23 @@
]

ROOT_URLCONF = "PatientRegistrySystem.urls"
ROOT_URLCONF = "api.urls"

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [BASE_DIR / 'templates'],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]

WSGI_APPLICATION = "api.wsgi.application"

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
black>=22.10.0
flake8>=5.0.4
django-extensions>=3.2.1 # for displaying registered urls in console

0 comments on commit 2da7f18

Please sign in to comment.