models

Announcing Our Very First Writing Challenge: How Is Technology Changing Things? 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 shop, and more! Our Prompt Style and Presentation Clarity Originality 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

Mar 28, 2025 - 11:28
 0
models

Announcing Our Very First Writing Challenge: How Is Technology Changing Things?

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 shop, and more!

Our Prompt

  • Style and Presentation

  • Clarity

  • Originality

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