# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import

from django.contrib.gis.db import models
from django.utils.encoding import python_2_unicode_compatible


@python_2_unicode_compatible
class Address(models.Model):
    location = models.PointField(max_length=40)

    objects = models.GeoManager()

    def __str__(self):
        return 'Point: %s' % self.location

# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import

from django.contrib.gis.db import models
from django.utils.encoding import python_2_unicode_compatible


@python_2_unicode_compatible
class Address(models.Model):
    location = models.PointField(max_length=40)

    objects = models.GeoManager()

    def __str__(self):
        return 'Point: %s' % self.location

# -*- coding: utf-8 -*-