izbrisana lokacija
This commit is contained in:
parent
b89fde9c92
commit
1b80bda3d5
Binary file not shown.
Binary file not shown.
@ -1,3 +1,6 @@
|
|||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
# Register your models here.
|
# Register your models here.
|
||||||
|
from .models import ObjektSigurnosti
|
||||||
|
|
||||||
|
admin.site.register(ObjektSigurnosti)
|
||||||
@ -16,7 +16,6 @@ class Migration(migrations.Migration):
|
|||||||
name='ObjektSigurnosti',
|
name='ObjektSigurnosti',
|
||||||
fields=[
|
fields=[
|
||||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
('lokacija', django.contrib.gis.db.models.fields.PointField(srid=4326)),
|
|
||||||
('naziv', models.CharField(max_length=255)),
|
('naziv', models.CharField(max_length=255)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,9 +2,6 @@ from django.db import models
|
|||||||
|
|
||||||
# Create your models here.
|
# Create your models here.
|
||||||
|
|
||||||
|
|
||||||
from django.contrib.gis.db import models
|
|
||||||
|
|
||||||
class ObjektSigurnosti(models.Model):
|
class ObjektSigurnosti(models.Model):
|
||||||
lat = models.FloatField(default=0.0)
|
lat = models.FloatField(default=0.0)
|
||||||
lon = models.FloatField(default=0.0)
|
lon = models.FloatField(default=0.0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user