From 76f703b9d72be67b6f620d89ef883d4b071ce685 Mon Sep 17 00:00:00 2001 From: Levi Date: Sun, 3 Apr 2016 21:47:21 -0500 Subject: [PATCH] cleaning code --- digitalglarus/models.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/digitalglarus/models.py b/digitalglarus/models.py index aff56990..f22ec6ec 100644 --- a/digitalglarus/models.py +++ b/digitalglarus/models.py @@ -24,26 +24,7 @@ class Supporter(models.Model): def get_absolute_url(self): return reverse('dgSupporters_view', args=[self.pk]) -# -# -# class DGGallery(models.Model): -# parent = models.ForeignKey('self', blank=True, null=True) -# name = models.CharField(max_length=30) -# -# def __str__(self): -# return "%s" % (self.name) -# -# def get_absolute_url(self): -# return reverse('dgGallery_view', args=[self.pk]) -# -# class Meta: -# verbose_name_plural = 'dgGallery' - def __str__(self): - return "%s" % (self.name) - - def get_absolute_url(self): - return reverse('dgSupporters_view', args=[self.pk]) class DGGallery(models.Model):