from __future__ import unicode_literals
#import datetime
from django.db import models
import django.contrib.auth.models as auth_models
import resources.models as resource_models

class Record(models.Model):
	user = models.ForeignKey(auth_models.User)
	blade = models.ForeignKey(resource_models.Blade)
	start_time = models.DateTimeField()
	end_time = models.DateTimeField()
	def __str__(self):
		return str(self.user) +'|' + str(self.blade)

	class Meta:
		app_label = 'records'
	
# Create your models here.


c5181609dad0b9b5e6e9afbe5f57cab9a87d00e9
<mask token>


class Record(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        app_label = 'records'

<mask token>


class Record(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return str(self.user) + '|' + str(self.blade)


    class Meta:
        app_label = 'records'

<mask token>


class Record(models.Model):
    user = models.ForeignKey(auth_models.User)
    blade = models.ForeignKey(resource_models.Blade)
    start_time = models.DateTimeField()
    end_time = models.DateTimeField()

    def __str__(self):
        return str(self.user) + '|' + str(self.blade)


    class Meta:
        app_label = 'records'

from __future__ import unicode_literals
from django.db import models
import django.contrib.auth.models as auth_models
import resources.models as resource_models


class Record(models.Model):
    user = models.ForeignKey(auth_models.User)
    blade = models.ForeignKey(resource_models.Blade)
    start_time = models.DateTimeField()
    end_time = models.DateTimeField()

    def __str__(self):
        return str(self.user) + '|' + str(self.blade)


    class Meta:
        app_label = 'records'

from __future__ import unicode_literals
#import datetime
from django.db import models
import django.contrib.auth.models as auth_models
import resources.models as resource_models

class Record(models.Model):
	user = models.ForeignKey(auth_models.User)
	blade = models.ForeignKey(resource_models.Blade)
	start_time = models.DateTimeField()
	end_time = models.DateTimeField()
	def __str__(self):
		return str(self.user) +'|' + str(self.blade)

	class Meta:
		app_label = 'records'
	
# Create your models here.

