Django Dockerize files

Dockerfilehttps://docs.google.com/document/d/1gEe8OzNbFjug0Y

June 12, 2024 continue
Docker Re-build

You can specify the Docker image to use for building your Dj

June 12, 2024 continue
Important files from Django to Fastapi

views => controllers & routersurls => routersseria

March 4, 2024 continue
Deploy Django Project

Step 1: Set Up a Virtual Private Server (VPS)Choose a VPS pr

Dec. 24, 2023 continue
retrieve method in Viewsets

def retrieve(self, request, *args, **kwargs): instan

Dec. 4, 2023 continue
use paginate and filters in list method (Viewset)

To apply the filter_backends, filterset_class, ordering_fiel

Nov. 29, 2023 continue
show “on” or “off” icons for calculated boolean fields

@admin.register(Hero) class HeroAdmin(admin.ModelAdmin):

Nov. 28, 2023 continue
run script in django

1) write in terminal: export DJANGO_SETTINGS_MODULE=mysite.

Nov. 28, 2023 continue
Custom Exception

importsfrom rest_framework.exceptions import PermissionDenie

Nov. 18, 2023 continue
Pagination in django

Example code:from rest_framework.pagination import PageNumbe

Nov. 14, 2023 continue