Code Monkey home page Code Monkey logo

bagnialmare's People

Contributors

flyingfrog81 avatar parruc avatar valnico avatar

bagnialmare's Issues

spostare gli eseguibili unittest e functest

Originally reported by: Matteo Parrucci (Bitbucket: parruc, GitHub: parruc)


Aggiugnere unittest e functest a saltstack in modo che siano generati parametricamente tenendo conto del virtualenv corretto sullo stile di prepare_data.sh.

Forse conviene fare una cartella apposita testing su saltstack dove mettiamo tutta la roba del test compresi i symlink nginx ecc. che viene eseguita solo in dev altrimenti django nginx ecc si riempiono troppo e diventano illeggibili


Postgis support

Originally reported by: Marco Bartolini (Bitbucket: flyingfrog, GitHub: flyingfrog)


Sembra che ci sia qualcosa che non va nel supporto alle spatial queries, in particolare me ne sono accorto eseguendo il codice che riporto qui sotto:

#!python

(venv)ombrelloni@vagrant-wheezy32:~/django$ python manage.py shell
In [1]: from bagni.models import Bagno

In [2]: from django.contrib.gis.geos import Polygon

In [3]: NW = [44.8, 11.2]

In [4]: SE = [43.3, 13.8]

In [5]: bbox = Polygon.from_bbox((NW[0], NW[1], SE[0], SE[1]))

In [6]: Bagno.objects.filter(point__contained=bbox)

ValueError: PostGIS geography does not support the "contained" lookup.

mentre invece nella documentazione dice chiaramente che dovrebbe essere supportato, assieme a tanti altri lookup types:

geodjango lookup types

Questo è un bel problema perchè al momento non permette di eseguire la classica query che ci servirebbe per visualizzare i bagni presenti in una particolare zona geografica.


sostituire indirizzo mail con pulsante "contattaci"

Originally reported by: Matteo Parrucci (Bitbucket: parruc, GitHub: parruc)


Creare form di contatto invece di pubblicare mail ecc nella pagina del dettaglio del singolo bagno.
Il sito partirà solo con il numero di telefono esposto al pubblico.
Quando un gestore si registra e crea l'utente alla pagina del suo bagno verrà quindi aggiunto un bottone "contattaci" che permetterà all'utente di compilare un form per inviare una mail al bagno prescelto.


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.