python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
pyhton manage.py createsuperuser
python manage.py add_plans
(add_brands is enough for test phrase)
python manage.py add_brands
python manage.py add_series
python manage.py add_models
python manage.py add_specification_types
python manage.py add_specifications
python manage.py add_cars
clear.sh
✔️ [POST] api/token/
- MyTokenObtainPairView
✔️ [POST] api/account/register/customer/
- CustomerUserRegisterAPIView
✔️ [GET] api/auto/
- BrandListAPIView
✔️ [GET] api/auto/<brand_slug>
- BrandDetailAPIView
✔️ [GET] api/auto/<brand_slug>/<series_slug>
- SeriesDetailAPIView
✔️ [GET] api/auto/<brand_slug>/<series_slug>/<model_slug>
- ModelDetailAPIView
✔️ [GET] api/cars/<car_slug>
- CarDetailAPIView