- Clone the repository
- Install django and django-cleanup using pip
- apt install libsqlite3-mod-spatialite
- apt install binutils libproj-dev gdal-bin
- Run ‘./manage.py runserver’
- Enjoy !
On top of page, add {% load static%}.
For static files (css or js for example) : css/styles.css -----> {% static ‘css/styles.css’ %}
For pages (html) index.html -----> {% url ‘viciapp:index’ %} See the file vici/viciapp/urls.py for a list of possible choices. It corresponds to the name=’__’ words
Special rule for forms: inside the <form></form> tag, add {% csrf_token %} about everything else