Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

168
Views
¿Cómo puedo arrastrar y soltar y guardar el estado después de soltar en django?

Soy novato aquí, trato de hacer algunos proyectos en Django (sqlite). En este proyecto, trato de arrastrar y soltar en una página web. Se hizo la tarjeta de arrastrar y soltar. Luego lo hago con jquery y jquery ui pero no funciona. Quiero arrastrar la tarjeta a la zona desde la que hice. En el tener un plano de construcción. la tarjeta caerá en la dirección de la habitación y permanecerán en la posición después de la caída aunque se actualice. ¿Cómo debería hacer?

He estado buscando sus soluciones pero no encontré ninguna ayuda.

Gracias

bucle para tarjeta de compilación

 {% for x in Showinventory%} {% if x.Type == 'COMPUTER' and x.current == 'inventory'%} <div draggable="true" class="draggable card {% if Current_year|sub:x.comStart < 4 %} bg-success {% elif Current_year|sub:x.comStart == 4%} bg-warning {% else %} bg-danger {% endif %}" style = " height: 60px; width: 50px" > <div> <img src={% static 'img\computer.png'%} width=" 80%" height="80%" data-toggle="popover" data-trigger="hover" title={{x.Type}} data-content="Number:{{x.comNum}} || S/N:{{x.comSerial}} || Abstract:{{x.comAbsNum}} || Brand:{{x.comBrand}} || Model:{{x.comModel}} || Budget:{{x.comBudget}} || Room:{{x.comRoom}} || Table:{{x.comTable}} || Equip:{{x.upsEquip}} || UPS Number:{{x.upsNum}} || UPS Serial:{{x.upsSerial}} || UPS Abstract:{{x.upsAbsNum}} || UPS Brand:{{x.upsBrand}} || UPS Model:{{x.upeModel}} || UPS Budget:{{x.upsBudget}} || {{x.affair}}"> </div> </div>

para dropzone

 <div id="blab" class="stabcontent dropzone"> <div> <img src="{% static 'img\floor1\Blabnlift.png' %}" alt="blood" height="100%" width="100%"> </div> </div>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!