mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-29 00:35:45 +08:00
Use leaflet for handling of locations in django admin
This commit is contained in:
parent
1fc262a530
commit
166d586fc2
15 changed files with 95 additions and 4 deletions
23
stude/landmarks/migrations/0001_initial.py
Normal file
23
stude/landmarks/migrations/0001_initial.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 4.2.3 on 2023-07-10 07:37
|
||||
|
||||
import django.contrib.gis.db.models.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Landmark',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=64)),
|
||||
('location', django.contrib.gis.db.models.fields.PolygonField(srid=4326)),
|
||||
],
|
||||
),
|
||||
]
|
0
stude/landmarks/migrations/__init__.py
Normal file
0
stude/landmarks/migrations/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue