You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
265 B
13 lines
265 B
from django.db import models
|
|
|
|
|
|
class Dot(models.Model):
|
|
title = models.CharField(max_length=127)
|
|
latitude = models.FloatField()
|
|
longitude = models.FloatField()
|
|
|
|
class Meta:
|
|
db_table = 'dots'
|
|
|
|
def __str__(self):
|
|
return self.title
|