cleaning code
This commit is contained in:
parent
93e1641203
commit
d7cb1fbbc6
1 changed files with 0 additions and 19 deletions
|
@ -24,26 +24,7 @@ class Supporter(models.Model):
|
||||||
|
|
||||||
def get_absolute_url(self):
|
def get_absolute_url(self):
|
||||||
return reverse('dgSupporters_view', args=[self.pk])
|
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):
|
class DGGallery(models.Model):
|
||||||
|
|
Loading…
Reference in a new issue