~daker/loco-team-portal/fix.1293258

« back to all changes in this revision

Viewing changes to loco_directory/meetings/models.py

  • Committer: Tarmac
  • Author(s): Martin Owens
  • Date: 2013-10-30 15:30:35 UTC
  • mfrom: (659.2.1 loco-team-portal)
  • Revision ID: tarmac-20131030153035-jx6wpipeapoketq2
[r=Michael Hall] Change datetime from an object to a method 

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    channel = models.CharField(max_length=150, verbose_name=_('Meeting Channel'), help_text=_('Channel that the meeting will be held in. Ex. #ubuntu-us-fl'), null=True)
20
20
    logs = models.URLField(verbose_name=_('Meeting Log'), help_text=_('After the meeting, add a link to the meeting log (leave blank to use the built-in irclog.ubuntu.com'), max_length=200, verify_exists=False, blank=True, null=True)
21
21
    minutes = models.URLField(verbose_name=_('Meeting Minutes'), help_text=_('After the meeting, add a link to the meeting minutes'), max_length=200, verify_exists=False, blank=True, null=True)
22
 
    date_created = models.DateTimeField(help_text=_('the date and time when the event was created'), default=datetime.datetime.now(), db_index=True)
 
22
    date_created = models.DateTimeField(help_text=_('the date and time when the event was created'), default=datetime.datetime.now, db_index=True)
23
23
    chair = models.ForeignKey(UserProfile, verbose_name=_('Meeting Chair'), blank=True, null=True)
24
24
 
25
25
    tz = 'UTC'