Adding rest framework to dependencies

This commit is contained in:
Maximilian Giller 2024-02-28 20:22:15 +01:00
parent a103ac22f5
commit 0739545a41
3 changed files with 7 additions and 3 deletions

View file

@ -4,4 +4,6 @@
### Install requirements
If there are any issues with `psycopg2` and that it cannot be imported, you might be missing `libpq-dev`. If you are using a virtual environment, install it with `sudo apt-get install libpq-dev`
If there are any issues with `psycopg2` and that it cannot be imported, you might be missing `libpq-dev`. If you are using a virtual environment, install it with `sudo apt-get install libpq-dev`.
If there are any issues with `djangorestframework` or rather the import of `rest_framework`, try installing it again with the active environment using `python -m pip install djangorestframework`.

View file

@ -32,6 +32,7 @@ ALLOWED_HOSTS = []
INSTALLED_APPS = [
'api_v1.apps.ApiV1Config',
'rest_framework',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',

View file

@ -1,2 +1,3 @@
Django~=5.0.2
psycopg2-binary~=2.9.9
Django~=4.2
psycopg2-binary~=2.9.9
djangorestframework~=3.14.0