\documentclass[twoside=no,parskip=half,numbers=enddot,bibliography=totoc,index=totoc,listof=totoc]{scrbook}
\usepackage{makeidx}
\usepackage[french]{babel}
\usepackage{csquotes}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{listing}
\usepackage{minted}
\usepackage{ulem}
\usepackage{graphics}
\usepackage{float}
\usepackage[export]{adjustbox}

\renewcommand\listlistingname{Liste des morceaux de code}


\onehalfspacing

\makeindex

\title{Minor Swing with Django}
\author{Fred}
\date{Entre 2015 et 2032}
\publishers{Me, Myself and I Editions}

\setcounter{tocdepth}{1}
\begin{document}
\maketitle

\frontmatter

\include{chapters/licence.tex}

\include{chapters/introduction.tex}

\tableofcontents
\listoffigures
\listoftables
%\listoflistings
\clearpage
\addcontentsline{toc}{chapter}{\listlistingname}{\listoflistings}

\mainmatter

\include{parts/environment.tex}

\include{chapters/maintenability.tex}

\include{chapters/architecture.tex}

\include{chapters/tests.tex}

\include{chapters/python.tex}

\chapter{Démarrer un nouveau projet}


\part{Principes fondamentaux de Django}

\chapter{Modélisation}

\chapter{Migrations}

\chapter{Shell}

\chapter{Administration}

\chapter{Forms}

\chapter{Processus d'authentification}

\chapter{Context Processors}

\chapter{Conclusions}

\part{Méthodes de déploiement}

\chapter{Infrastructure et composants}

\chapter{Code source}

\chapter{Outils de supervision et de mise à disposition}

\chapter{Journaux}

\chapter{Méthodes}

\chapter{On-premise: Debian}

\chapter{PaaS: Heroku}

\chapter{Outils complémentaires}

\chapter{Ressources}

\chapter{Conclusions}

\part{Services Oriented Applications}

\chapter{Application Programming Interfaces}

\chapter{A/B Testing}

\chapter{Modèles et relations}

\chapter{Filtres et recherches}

\chapter{URLs et espaces de noms}

\chapter{i18n / l20n}

\chapter{Conclusions}

\part{Go Live!}

\chapter{Gwift}

\chapter{Khana}

\chapter{Refactoring}

\chapter{Conclusions}

\backmatter

\part{Ressources}

\printindex

\bibliography{references}
\bibliographystyle{plainnat}

\include{chapters/thanks.tex}

\end{document}
