WEBVTT
Kind: captions
Language: en

00:00:00.230 --> 00:00:08.780
Next we need to enable our newly created
profiles API app in our Django project

00:00:08.780 --> 00:00:14.429
the way that you enable an app in a
project is you open up the profiles

00:00:14.429 --> 00:00:21.700
project which is the root project of our
Django project and open up settings dot py

00:00:22.860 --> 00:00:27.060
if you look at the settings dot py this
is the configuration file or the

00:00:27.060 --> 00:00:32.940
settings file for our Django project
there's a block here called installed

00:00:32.940 --> 00:00:38.100
apps this is where you need to list all
of the apps that you need to use for

00:00:38.100 --> 00:00:43.370
your project so in our project we can
install apps either via an external

00:00:43.370 --> 00:00:49.440
dependency which is the ones we
installed in our requirements dot txt or you

00:00:49.440 --> 00:00:54.329
can install apps by creating new
apps and then adding it to the installed

00:00:54.329 --> 00:00:59.219
apps list so there's a few apps that we
need to enable here in our installed

00:00:59.219 --> 00:01:05.960
apps so underneath the Django dot contrib dot 
static files line create a new line and

00:01:05.960 --> 00:01:14.159
open the quotes and type rest underscore
framework rest framework is the Django

00:01:14.159 --> 00:01:18.659
rest framework that we installed earlier
and this is the name of the app within

00:01:18.659 --> 00:01:23.970
the dependency Django rest framework
package that we need to add to our

00:01:23.970 --> 00:01:28.829
project underneath this we're going to
add another app from the rest

00:01:28.829 --> 00:01:33.240
framework and this is called the auth
token app so type rest underscore

00:01:33.240 --> 00:01:38.320
framework dot auth token

00:01:38.320 --> 00:01:41.430
this will allow
us to use the authentication token

00:01:41.430 --> 00:01:45.920
functionality that comes out the box
with the rest framework

00:01:45.940 --> 00:01:46.820
finally we're

00:01:46.829 --> 00:01:52.950
going to add our profiles API app which
we manually added to our project here so

00:01:52.950 --> 00:01:59.820
we're going to add a new string and write
profiles underscore API and then don't

00:01:59.820 --> 00:02:05.020
forget to add the last comma here at the
end just to keep it standard

00:02:05.020 --> 00:02:06.210
okay so

00:02:06.210 --> 00:02:11.670
make sure that you save your settings
file and that's how you add apps to

00:02:11.670 --> 00:02:15.530
the installed apps of your
Django project

