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

164
Views
Django Leaflet Ajax

How to list and map located data:

  • At one point
  • In an interval
  • In a rectangle
  • In a circle of radius R Using:
  • models.py
  • views.py
  • urls.py
  • modal_fade.html

thank you so much

class Even(models.Model):
nom = models.CharField(max_length=20, default='Even')
date = models.DateField(null=True, blank=True)
wilaya=models.ForeignKey(Wilaya,on_delete=models.DO_NOTHING,null=True,blank=True)
longitude = models.FloatField(null=True, blank=True)
latitude = models.FloatField(null=True, blank=True)
geom = models.PointField(srid=4326, null=True, blank=True,)
@property
def longitude(self):
    return self.geom.x
@property
def latitude(self):
    return self.geom.y
def __str__(self):
    return self.nom
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!