equal
deleted
inserted
replaced
19 __authors__ = [ |
19 __authors__ = [ |
20 '"Pawel Solyga" <pawel.solyga@gmail.com>', |
20 '"Pawel Solyga" <pawel.solyga@gmail.com>', |
21 ] |
21 ] |
22 |
22 |
23 from google.appengine.ext import db |
23 from google.appengine.ext import db |
|
24 |
24 from django.utils.translation import ugettext_lazy |
25 from django.utils.translation import ugettext_lazy |
25 |
26 |
26 class SiteSettings(db.Model): |
27 from soc.models import base |
|
28 |
|
29 class SiteSettings(base.ModelWithFieldAttributes): |
27 """Model of a SiteSettings, which stores per site configuration.""" |
30 """Model of a SiteSettings, which stores per site configuration.""" |
28 |
31 |
29 #: Valid ATOM or RSS feed url or None if unused. Feed entries are shown |
32 #: Valid ATOM or RSS feed url or None if unused. Feed entries are shown |
30 #: on the site page using Google's JavaScript blog widget |
33 #: on the site page using Google's JavaScript blog widget |
31 feed_url = db.LinkProperty( |
34 feed_url = db.LinkProperty( |