roza / django-starter-bootstrap

Django example project with bootstrap templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Django example project with bootstrap templates


Languages

Language:Python 68.1%Language:HTML 30.4%Language:CSS 1.5%