please explain what you want to achieve for better support
On Fri, Aug 12, 2022 at 4:57 PM Gav O'Connor wrote:
> You can create a data migration using the `--empty` switch. See the docs:
> https://docs.djangoproject.com/en/4.1/topics/migrations/#data-migrations
>
> On Thursday, 11 August 2022 at
# models.py
from django.db import models
class Title(models.Model):
name = models.CharField(max_length=100, unique=True)
# Add other fields as needed
# views.py
from django.shortcuts import render, get_object_or_404
from .models import Title
def title_page(request, title_id):
title =
2 matches
Mail list logo