Skip to main content

Command Palette

Search for a command to run...

modelsair

Published
1 min readView as Markdown

Models

You are welcome to be as broad or specific as you wish as long as your topic is within the scope of what technology touches. We encourage you not to focus on software development specifically, but instead leverage your technical expertise to focus on areas that will impact the friends and family you are writing to.

Additional Prize Categories

There is one prompt for this challenge but three ways to win. All winners will receive an exclusive Future badge, bragging rights, a gift to the forem and more!

Our Prompt

Style and Presentation

Clarity

Our Prompt

class Tag(models.Model): name = models.CharField(max_length=100, unique=True) slug = models.SlugField(max_length=50, unique=True, blank=True) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) def save(self, args, *kwargs): if not self.slug: self.slug = slugify(self.name) super().save(*args, **kwargs) def str(self): return self.name