Skip to content

Joh11/vici_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

How to install

  • 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 !

Recipe to add liquid templates for html

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published