~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to wlscheduling/models.py

  • Committer: Holger Rapp
  • Date: 2016-08-08 10:06:42 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: sirver@gmx.de-20160808100642-z62vwqitxoyl5fh4
Added the apt-get update script I run every 30 days.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
# encoding: utf-8
3
 
 
4
 
from django.db import models
5
 
from django.contrib.auth.models import User
6
 
 
7
 
 
8
 
class Availabilities(models.Model):
9
 
    user = models.ForeignKey(User, related_name='availabilities')
10
 
    avail_time = models.DateTimeField(
11
 
        help_text="this user is available for this whole hour", default=0)
 
 
b'\\ No newline at end of file'