Fix indentation
authorMagnus Hagander <magnus@hagander.net>
Wed, 8 May 2013 20:13:12 +0000 (22:13 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 8 May 2013 20:13:12 +0000 (22:13 +0200)
pgweb/pugs/models.py

index 69783d34dcf7e393c241d4d3ab2b128a5c2a9b87..d71414a1c4aaafc55a3db269a872232297cfe180 100644 (file)
@@ -2,18 +2,18 @@ from django.db import models
 from pgweb.util.bases import PgModel
 
 class PUG(PgModel, models.Model):
-    """
-    contains information about a local PostgreSQL user group
-    """
-    country = models.ForeignKey('core.Country')
-    org = models.ForeignKey('core.Organisation', null=True, blank=True, help_text='Organization that manages the PUG and its contents')
-    approved = models.BooleanField(null=False, blank=False, default=False)
-    locale = models.CharField(max_length=255, help_text="Locale where the PUG meets, e.g. 'New York City'")
-    title = models.CharField(max_length=255, help_text="Title/Name of the PUG, e.g. 'NYC PostgreSQL User Group'")
-    website_url = models.TextField(null=True, blank=True)
-    mailing_list_url = models.TextField(null=True, blank=True)
+       """
+       contains information about a local PostgreSQL user group
+       """
+       country = models.ForeignKey('core.Country')
+       org = models.ForeignKey('core.Organisation', null=True, blank=True, help_text='Organization that manages the PUG and its contents')
+       approved = models.BooleanField(null=False, blank=False, default=False)
+       locale = models.CharField(max_length=255, help_text="Locale where the PUG meets, e.g. 'New York City'")
+       title = models.CharField(max_length=255, help_text="Title/Name of the PUG, e.g. 'NYC PostgreSQL User Group'")
+       website_url = models.TextField(null=True, blank=True)
+       mailing_list_url = models.TextField(null=True, blank=True)
 
        purge_urls = ('/community/user-groups/', )
 
-    def __unicode__(self):
-        return self.title
+       def __unicode__(self):
+               return self.title