app/soc/models/site_settings.py
changeset 411 c8ac5c1161e2
parent 405 f3525c1288ed
child 453 229e39d268a6
equal deleted inserted replaced
410:2af7f84f4fc7 411:c8ac5c1161e2
    32   """Model of a SiteSettings, which stores per site configuration."""
    32   """Model of a SiteSettings, which stores per site configuration."""
    33 
    33 
    34   #: Valid Google Analytics tracking number, if entered every page
    34   #: Valid Google Analytics tracking number, if entered every page
    35   #: is going to have Google Analytics JS initialization code in 
    35   #: is going to have Google Analytics JS initialization code in 
    36   #: the footer with the given tracking number.
    36   #: the footer with the given tracking number.
    37   ga_tracking_no = db.StringProperty(verbose_name=ugettext_lazy('Google Analytics'))
    37   ga_tracking_num = db.StringProperty(verbose_name=ugettext_lazy('Google Analytics'))
    38   ga_tracking_no.help_text = ugettext_lazy(
    38   ga_tracking_num.help_text = ugettext_lazy(
    39       'Valid Google Analytics tracking number. If the number is '
    39       'Valid Google Analytics tracking number. If the number is '
    40       'entered every page is going to have Google Analytics '
    40       'entered every page is going to have Google Analytics '
    41       'initialization code in footer.')
    41       'initialization code in footer.')
    42 
    42