{% extends 'admin/change_form.html' %} {% load i18n admin_modify static %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block content %}
{% csrf_token %}
{{ form.as_p }}

Il file deve essere .xls o .xlsx.
Le intestazioni delle colonne devono essere presenti e le possibili voci sono:

status Choice among {{ PUBLIEDITOR_CAR_STATUS_CHOICES }}
infocar Integer
get_corporate_id Corporate id
get_corporate_name Corporate name (ignored if corporate_id is given)
get_brand_idBrand id (Brand id or name must be provided)
get_brand_name Brand name (ignored if brand_id is given)
get_model_id Model id (Brand id or name must be provided)
get_model_name Model name (ignored if model_id is given)
motor Char
version Required Char
price Integer
shape Choice among {{ PUBLIEDITOR_CAR_SHAPE_CHOICES }}
target Choice among {{ PUBLIEDITOR_CAR_TARGET_CHOICES }}
seat Choice among {{ PUBLIEDITOR_CAR_SEAT_CHOICES }}
engine Choice among {{ PUBLIEDITOR_CAR_ENGINE_CHOICES }}
layout Choice among {{ PUBLIEDITOR_CAR_LAYOUT_CHOICES }}
turbo Charfield
fuel Choice among {{ PUBLIEDITOR_CAR_FUEL_CHOICES }}
traction Choice among {{ PUBLIEDITOR_CAR_TRACTION_CHOICES }}
gear Choice among {{ PUBLIEDITOR_CAR_GEAR_CHOICES }}
agear Choice among {{ PUBLIEDITOR_CAR_AGEAR_CHOICES }}
pollution Choice among {{ PUBLIEDITOR_CAR_POLLUTION_CHOICES }}
engine_loc Choice among {{ PUBLIEDITOR_CAR_ENGINE_LOC_CHOICES }}
doors Choice among {{ PUBLIEDITOR_CAR_DOORS_CHOICES }}
year_first Integer
year Integer
month Integer
luggage Integer
luggage_max Integer
tank Decimal
weight Integer
length Integer
width Integer
height Integer
displ Integer
power_cv Integer
power_kw Integer
power_rpm Integer
torque_max Integer
torque_rpm Integer
speed Integer
acc Decimal
co2 Integer
tow Integer
cons_urban Decimal
cons_mix Decimal
cons_extra Decimal
turning_circle DecimalField
warranty IntegerField
wheelbase IntegerField
kml_mix Decimal
driving Boolean (means neopatentati)
area_c Boolean
power_spec Decimal
power_weight Decimal
proxymity Integer
price_update Date
field_src Choice among {{ PUBLIEDITOR_CAR_FIELD_SRC_CHOICES }}
new_date DateTime
mod_date DateTime
standard_num Integer
off_year Integer
off_month Integer
slug Slug (if not provided it will be calculated)
number_of_engines Integer
combustion_engine_power_cv Integer
combustion_engine_power_kw Decimal
combustion_engine_torque_Nm Integer
electric_engine_power_cv Integer
electric_engine_power_kw Decimal
electric_engine_torque_Nm Integer
total_power_cv Integer
total_power_kw Decimal
total_torque_Nm Integer
batteries_capacity Decimal
usable_capacity Decimal
on_board_battery_charger Decimal
average_electric_consumption Decimal
ac_charging_time_at_3_7_kw Decimal
ac_charging_time_at_11_kw Decimal
ac_charging_time_at_22_kw Decimal
dc_charging_time_at_150_kw Decimal
electric_autonomy_in_km Integer
total_autonomy_in_km Integer
top_speed_in_EV Integer

{% endblock %}