Bubbles
5 points · 2 hours ago · 0 comments

Some time ago I wrote a blog post about Htmx and Django-table2 and all went well… No he didn’t work as I wanted so I did some editing of the code here and there. The old one We start with the code I didn’t change: First the model # blog/model.py class Post(models.Model): title = models.CharField(max_length=400) slug = models.SlugField(max_length=400, unique=True, blank=True) content = models.TextAreaField() date = models.DateTimeField(auto_now_add=True)The table

No comments yet. Log in to reply on the Fediverse. Comments will appear here.