You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
The Tag model has "unique=True" set for the slug field. This must be an error since it implies that we can only have one tag per slug... Below is the code pasted from conduit/articles/models.py.
class Tag(TimestampedModel):
tag = models.CharField(max_length=255)
slug = models.SlugField(db_index=True, unique=True)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The Tag model has "unique=True" set for the slug field. This must be an error since it implies that we can only have one tag per slug... Below is the code pasted from conduit/articles/models.py.
class Tag(TimestampedModel):
tag = models.CharField(max_length=255)
slug = models.SlugField(db_index=True, unique=True)
The text was updated successfully, but these errors were encountered: