Skip to content

Commit

Permalink
add get to model
Browse files Browse the repository at this point in the history
  • Loading branch information
Ammarmoulla committed Jan 7, 2024
1 parent 3ca0020 commit fdb63d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion video/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from django.utils.text import slugify
from django.utils import timezone
from django.core.validators import FileExtensionValidator

# Create your models here.


Expand All @@ -28,3 +27,7 @@ def __str__(self):

def get_absolute_url(self):
return reverse("video:video_detail", args=[self.slug])




0 comments on commit fdb63d8

Please sign in to comment.