white-space: pre-wrappreserves white spaces and breaks lines at newlines. (CSS)
*You can index your models with
You can give your model metadata by adding
class Meta. Example from the official docs:
from django.db import models class Ox(models.Model): horn_length = models.IntegerField() class Meta: ordering = ["horn_length"] verbose_name_plural = "oxen"
Metadata options can include db_table, ordering, and verbose_name_plural. (reference)
This post is a part of the #100daysofcode challenge.