Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Django code styling fixes.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3a662052ecd4ec7099a264b9aad5498f4b8953ad 1 parent 0c222b9
Gary Wilson Jr. authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  django/contrib/flatpages/models.py
3  django/contrib/flatpages/models.py
@@ -3,6 +3,7 @@
3 3
 from django.contrib.sites.models import Site
4 4
 from django.utils.translation import ugettext_lazy as _
5 5
 
  6
+
6 7
 class FlatPage(models.Model):
7 8
     url = models.CharField(_('URL'), max_length=100, validator_list=[validators.isAlphaNumericURL], db_index=True,
8 9
         help_text=_("Example: '/about/contact/'. Make sure to have leading and trailing slashes."))
@@ -13,11 +14,13 @@ class FlatPage(models.Model):
13 14
         help_text=_("Example: 'flatpages/contact_page.html'. If this isn't provided, the system will use 'flatpages/default.html'."))
14 15
     registration_required = models.BooleanField(_('registration required'), help_text=_("If this is checked, only logged-in users will be able to view the page."))
15 16
     sites = models.ManyToManyField(Site)
  17
+
16 18
     class Meta:
17 19
         db_table = 'django_flatpage'
18 20
         verbose_name = _('flat page')
19 21
         verbose_name_plural = _('flat pages')
20 22
         ordering = ('url',)
  23
+
21 24
     class Admin:
22 25
         fields = (
23 26
             (None, {'fields': ('url', 'title', 'content', 'sites')}),

0 notes on commit 3a66205

Please sign in to comment.
Something went wrong with that request. Please try again.