Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 982 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 982 Bytes

django-starter-bootstrap

  • Django example project with bootstrap templates
  • Two small apps with simple models, django forms and Bootstrap templating

Installation

  • create a virtualenv : virtualenv -p python3 venv
  • install python dependencies : pip install -r requirements.txt
  • activate : source venv/bin/activate
  • migrate : ./manage.py migrate
  • install static dependencies : yarn newinstall (at root level)

Run server

Just do:

./manage.py runserver

Available routes

admin/

lesTaches/home/<param> [name='home']
lesTaches/listing [name='listing']

contacts/ [name='contact']
contacts/detail/<int:cid> [name='detail']
contacts/edit/<int:pers_id> [name='edite']
contacts/del/<int:pers_id> [name='delete']
contacts/list [name='listing'] 

or ... use gitpod

Gitpod Ready-to-Code