Get LaunchBase

Blog Page

Blog Documentation

Blog posts are created and managed using the Django admin panel. Your blogs can be viewed on the recent posts page /blog/latest/. Each blog can be accessed using its ID, example: /blog/2

The content field of the blog model is rendered using markdown format. This can be useful for code blocks, links, and even images, using the same format as any github file.

Blog Django Model

class Blog(models.Model):
    id = models.AutoField(primary_key=True)
    title = models.CharField(max_length=200)
    content = models.TextField()
    description = models.CharField(max_length=500)
    thumbnail = models.CharField(max_length=500)
    timestamp = models.DateTimeField(auto_now_add=True)
    tags = models.CharField(max_length=200, blank=True)