Loading…
Loading…
Python · batteries-included
Django is the batteries-included option: admin panel, ORM migrations, DRF serializers + viewsets, management commands, Celery. Best for apps where an admin UI and multi-tenancy are first-class requirements.
Every Django app generated by Archiet ships with these baseline pieces. No template-cutting, no placeholder TODOs.
One representative file from a generated Django app. Your generated output will include many more files like this one, customized to the entities and flows in your blueprint.
from rest_framework import viewsets
from rest_framework.permissions import IsAuthenticated
from .models import Item
from .serializers import ItemSerializer
class ItemViewSet(viewsets.ModelViewSet):
serializer_class = ItemSerializer
permission_classes = [IsAuthenticated]
def get_queryset(self):
return Item.objects.filter(
workspace_id=self.request.user.workspace_id
).order_by("-created_at")
def perform_create(self, serializer):
serializer.save(
workspace_id=self.request.user.workspace_id,
created_by=self.request.user,
)Pick Django when you need an admin panel, content-management surface, or multi-tenant isolation enforced at the ORM level. Least boilerplate for CRUD-heavy apps.