Ticket #109: custom-datetime-2.diff

File custom-datetime-2.diff, 1.2 KB (added by Manuzhai, 15 years ago)

Setting the default datetime-formatting

  • conf/global_settings.py

     
    2121
    2222# Local time zone for this installation. All choices can be found here:
    2323# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
    24 TIME_ZONE = 'America/Chicago'
     24TIME_ZONE = 'Europe/Amsterdam'
    2525
     26# DateTime format.
     27DATETIME_FORMAT = 'N j, Y, P'
     28
    2629# Language code for this installation. All choices can be found here:
    2730# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
    2831# http://blogs.law.harvard.edu/tech/stories/storyReader$15
     
    3336MANAGERS = ADMINS
    3437
    3538# E-mail address that error messages come from.
    36 SERVER_EMAIL = 'root@localhost'
     39SERVER_EMAIL = 'admin@xavamedia.nl'
    3740
    3841# Whether to send broken-link e-mails.
    3942SEND_BROKEN_LINK_EMAILS = True
     
    6164
    6265# Default e-mail address to use for various automated correspondence from
    6366# the site managers.
    64 DEFAULT_FROM_EMAIL = 'webmaster@localhost'
     67DEFAULT_FROM_EMAIL = 'admin@xavamedia.nl'
    6568
    6669# Whether to append trailing slashes to URLs.
    6770APPEND_SLASH = True
Back to Top