Skip to content

Commit

Permalink
Fixing issue not to allow duplicate pairs of user and tavern_group in…
Browse files Browse the repository at this point in the history
… Membership
  • Loading branch information
yashwanthbabu committed Sep 10, 2014
1 parent c4d20b6 commit 4f8d97c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tavern/models.py
Expand Up @@ -100,8 +100,7 @@ class Meta:
ordering = ['starts_at']

def get_absolute_url(self):
return reverse("tavern_event_details", kwargs={"slug": self.slug,
"group": self.group.slug})
return reverse("tavern_event_details", kwargs={"slug": self.slug})

def save(self, *args, **kwargs):
self.slug = slugify(self.name)
Expand Down

0 comments on commit 4f8d97c

Please sign in to comment.