Remove dist models See merge request spatial/postamates!162dev
commit
da00f0430e
@ -1,23 +1,186 @@
|
||||
[{"model": "service.otherobjectscategory", "pk": 4, "fields": {"name": "business_activity", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 5, "fields": {"name": "metro_stations", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 22, "fields": {"name": "bargains", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 23, "fields": {"name": "BC", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 24, "fields": {"name": "flats_cnt", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 25, "fields": {"name": "offers_estate", "image": "", "visible": false}}, {
|
||||
"model": "service.otherobjectscategory", "pk": 26, "fields": {"name": "schools", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 27, "fields": {"name": "kindergar", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 28, "fields": {"name": "stops", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 29, "fields": {"name": "pharmacies", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 30, "fields": {"name": "sport_centers", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 31, "fields": {"name": "supermarkets", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 32, "fields": {"name": "supermarkets_premium", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 33, "fields": {"name": "banks", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 34, "fields": {"name": "recas", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 35, "fields": {"name": "labs", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 36, "fields": {"name": "clinics", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 37, "fields": {"name": "attractions", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 38, "fields": {"name": "cultures", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 39, "fields": {"name": "public_services", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 40, "fields": {"name": "popul_home_job", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 41, "fields": {"name": "TC", "image": "", "visible": false}},
|
||||
{"model": "service.otherobjectscategory", "pk": 42, "fields": {"name": "yndx_food_cnt_amt", "image": "", "visible": false}}]
|
||||
[
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 4,
|
||||
"fields": {
|
||||
"name": "business_activity",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 5,
|
||||
"fields": {
|
||||
"name": "metro_stations",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 22,
|
||||
"fields": {
|
||||
"name": "bargains",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 23,
|
||||
"fields": {
|
||||
"name": "BC",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 24,
|
||||
"fields": {
|
||||
"name": "flats_cnt",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 25,
|
||||
"fields": {
|
||||
"name": "offers_estate",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 26,
|
||||
"fields": {
|
||||
"name": "schools",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 27,
|
||||
"fields": {
|
||||
"name": "kindergar",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 28,
|
||||
"fields": {
|
||||
"name": "stops",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 29,
|
||||
"fields": {
|
||||
"name": "pharmacies",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 30,
|
||||
"fields": {
|
||||
"name": "sport_centers",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 31,
|
||||
"fields": {
|
||||
"name": "supermarkets",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 32,
|
||||
"fields": {
|
||||
"name": "supermarkets_premium",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 33,
|
||||
"fields": {
|
||||
"name": "banks",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 34,
|
||||
"fields": {
|
||||
"name": "recas",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 35,
|
||||
"fields": {
|
||||
"name": "labs",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 36,
|
||||
"fields": {
|
||||
"name": "clinics",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 37,
|
||||
"fields": {
|
||||
"name": "attractions",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 38,
|
||||
"fields": {
|
||||
"name": "cultures",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 39,
|
||||
"fields": {
|
||||
"name": "public_services",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 40,
|
||||
"fields": {
|
||||
"name": "popul_home_job",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 41,
|
||||
"fields": {
|
||||
"name": "TC",
|
||||
"visible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "service.otherobjectscategory",
|
||||
"pk": 42,
|
||||
"fields": {
|
||||
"name": "yndx_food_cnt_amt",
|
||||
"visible": false
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -1,22 +1,20 @@
|
||||
[
|
||||
{
|
||||
{
|
||||
"model": "service.post_and_pvzcategory",
|
||||
"pk": 1,
|
||||
"fields": {
|
||||
"name": "ПВЗ",
|
||||
"image": "",
|
||||
"visible": true,
|
||||
"include_in_ml": true
|
||||
}
|
||||
},
|
||||
{
|
||||
},
|
||||
{
|
||||
"model": "service.post_and_pvzcategory",
|
||||
"pk": 2,
|
||||
"fields": {
|
||||
"name": "Постаматы прочих сетей",
|
||||
"image": "",
|
||||
"visible": true,
|
||||
"include_in_ml": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@ -1 +1,112 @@
|
||||
[{"model": "service.post_and_pvzgroup", "pk": 7, "fields": {"name": "Ozon", "category": 1, "image": "post_and_pvz_group_images/nameozon_typePVZ_SizeM.png", "visible": true, "include_in_ml": true}}, {"model": "service.post_and_pvzgroup", "pk": 8, "fields": {"name": "СДЭК", "category": 1, "image": "post_and_pvz_group_images/namesdek_typePVZ_SizeM.png", "visible": true, "include_in_ml": true}}, {"model": "service.post_and_pvzgroup", "pk": 9, "fields": {"name": "Халва", "category": 2, "image": "post_and_pvz_group_images/namekhalva_typepostamat_SizeM.png", "visible": true, "include_in_ml": false}}, {"model": "service.post_and_pvzgroup", "pk": 10, "fields": {"name": "СДЭК", "category": 2, "image": "post_and_pvz_group_images/namesdek_typepostamat_SizeM.png", "visible": true, "include_in_ml": false}}, {"model": "service.post_and_pvzgroup", "pk": 12, "fields": {"name": "Ozon", "category": 2, "image": "post_and_pvz_group_images/nameozon_typepostamat_SizeM.png", "visible": true, "include_in_ml": false}}, {"model": "service.post_and_pvzgroup", "pk": 17, "fields": {"name": "WildBerries", "category": 1, "image": "post_and_pvz_group_images/namewb_typePVZ_SizeM.png", "visible": true, "include_in_ml": false}}, {"model": "service.post_and_pvzgroup", "pk": 19, "fields": {"name": "Яндекс.Маркет", "category": 1, "image": "post_and_pvz_group_images/ya.market-PVZ-M_KWksDvo.png", "visible": true, "include_in_ml": true}}, {"model": "service.post_and_pvzgroup", "pk": 20, "fields": {"name": "Яндекс.Маркет", "category": 2, "image": "post_and_pvz_group_images/ya.market-postamat-M.png", "visible": true, "include_in_ml": true}}, {"model": "service.post_and_pvzgroup", "pk": 24, "fields": {"name": "Почта России", "category": 1, "image": "post_and_pvz_group_images/pochta-PVZ-M.png", "visible": true, "include_in_ml": true}}, {"model": "service.post_and_pvzgroup", "pk": 25, "fields": {"name": "Почта России", "category": 2, "image": "post_and_pvz_group_images/pochta-postamat-M_gBJlHTO.png", "visible": true, "include_in_ml": true}}]
|
||||
[
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":7,
|
||||
"fields":{
|
||||
"name":"Ozon",
|
||||
"category":1,
|
||||
"image":"post_and_pvz_group_images/nameozon_typePVZ_SizeM.png",
|
||||
"visible":true,
|
||||
"include_in_ml":true
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":8,
|
||||
"fields":{
|
||||
"name":"СДЭК",
|
||||
"category":1,
|
||||
"image":"post_and_pvz_group_images/namesdek_typePVZ_SizeM.png",
|
||||
"visible":true,
|
||||
"include_in_ml":true
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":9,
|
||||
"fields":{
|
||||
"name":"Халва",
|
||||
"category":2,
|
||||
"image":"post_and_pvz_group_images/namekhalva_typepostamat_SizeM.png",
|
||||
"visible":true,
|
||||
"include_in_ml":false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":10,
|
||||
"fields":{
|
||||
"name":"СДЭК",
|
||||
"category":2,
|
||||
"image":"post_and_pvz_group_images/namesdek_typepostamat_SizeM.png",
|
||||
"visible":true,
|
||||
"include_in_ml":false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":12,
|
||||
"fields":{
|
||||
"name":"Ozon",
|
||||
"category":2,
|
||||
"image":"post_and_pvz_group_images/nameozon_typepostamat_SizeM.png",
|
||||
"visible":true,
|
||||
"include_in_ml":false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":17,
|
||||
"fields":{
|
||||
"name":"WildBerries",
|
||||
"category":1,
|
||||
"image":"post_and_pvz_group_images/namewb_typePVZ_SizeM.png",
|
||||
"visible":true,
|
||||
"include_in_ml":false
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":19,
|
||||
"fields":{
|
||||
"name":"Яндекс.Маркет",
|
||||
"category":1,
|
||||
"image":"post_and_pvz_group_images/ya.market-PVZ-M_KWksDvo.png",
|
||||
"visible":true,
|
||||
"include_in_ml":true
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":20,
|
||||
"fields":{
|
||||
"name":"Яндекс.Маркет",
|
||||
"category":2,
|
||||
"image":"post_and_pvz_group_images/ya.market-postamat-M.png",
|
||||
"visible":true,
|
||||
"include_in_ml":true
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":24,
|
||||
"fields":{
|
||||
"name":"Почта России",
|
||||
"category":1,
|
||||
"image":"post_and_pvz_group_images/pochta-PVZ-M.png",
|
||||
"visible":true,
|
||||
"include_in_ml":true
|
||||
}
|
||||
},
|
||||
{
|
||||
"model":"service.post_and_pvzgroup",
|
||||
"pk":25,
|
||||
"fields":{
|
||||
"name":"Почта России",
|
||||
"category":2,
|
||||
"image":"post_and_pvz_group_images/pochta-postamat-M_gBJlHTO.png",
|
||||
"visible":true,
|
||||
"include_in_ml":true
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,135 @@
|
||||
# Generated by Django 3.2 on 2023-10-08 08:41
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('service', '0037_auto_20231002_1349'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='preplacementpointpvzdistance',
|
||||
name='placement_point',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='preplacementpointpvzdistance',
|
||||
name='pvz_postamates_group',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='otherobjectscategory',
|
||||
name='image',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='post_and_pvzcategory',
|
||||
name='image',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d10',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата СДЭК'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d12',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Ozon'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d17',
|
||||
field=models.FloatField(null=True, verbose_name='Расстояние до ПВЗ Wildberries'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d19',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ Yandex'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d20',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Yandex'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d24',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ Почта России'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d25',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Почта России'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d7',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ Ozon'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d8',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ СДЭК'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='placementpoint',
|
||||
name='d9',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Халва'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d10',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата СДЭК'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d12',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Ozon'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d17',
|
||||
field=models.FloatField(null=True, verbose_name='Расстояние до ПВЗ Wildberries'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d19',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ Yandex'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d20',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Yandex'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d24',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ Почта России'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d25',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Почта России'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d7',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ Ozon'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d8',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до ПВЗ СДЭК'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='preplacementpoint',
|
||||
name='d9',
|
||||
field=models.FloatField(blank=True, null=True, verbose_name='Расстояние до Постамата Халва'),
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='PlacementPointPVZDistance',
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='PrePlacementPointPVZDistance',
|
||||
),
|
||||
]
|
||||
Loading…
Reference in new issue