<reponame>pkscredy/lat_long
from __future__ import unicode_literals

from django.db import models


class Document(models.Model):
    file_name = models.CharField(max_length=255, blank=True)
    document = models.FileField(upload_to='documents/')
    uploaded_at = models.DateTimeField(auto_now_add=True)

    def __str__(self):
        return self.description

from __future__ import unicode_literals

from django.db import models


class Document(models.Model):
    file_name = models.CharField(max_length=255, blank=True)
    document = models.FileField(upload_to='documents/')
    uploaded_at = models.DateTimeField(auto_now_add=True)

    def __str__(self):
        return self.description