% Apendice A                                                                                                                                                
\newcommand{\codeFolder}{../../app/django-bbx}
                   
\chapter{Listagem do código}
\label{ApendiceA}
\lhead{Apêndice A \emph{Listagem do código}}

\section{bbx}

\subsection{bbx/auth.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/bbx/auth.py}

\subsection{bbx/utils.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/bbx/utils.py}

\section{media}

%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/media/README}

%\subsection{media/admin.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{../../tests/django-backbone_0/media/admin.py}

\subsection{media/models.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/media/models.py}

\subsection{media/serializers.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/media/serializers.py}

\subsection{media/views.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/media/views.py}

\subsection{media/urls.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/media/urls.py}

%\subsection{media/urls.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{../../tests/django-backbone_0/media/urls.py}

%\subsection{media/management/commands/run scheduled jobs.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{../../tests/django-backbone_0/media/management/commands/run_scheduled_jobs.py}


\section{repository}

\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/repository/README}

%\subsection{repository/admin.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{../../tests/django-backbone_0/repository/admin.py}

\subsection{repository/models.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/repository/models.py}

\subsection{repository/signals.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/repository/signals.py}

\subsection{repository/management/commands/run scheduled jobs.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/repository/management/commands/run_scheduled_jobs.py}

%\subsection{repository/admin.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/repository/admin.py}

\subsection{repository/serializers.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/repository/serializers.py}

\section{mucua}

\subsection{mucua/models.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mucua/models.py}

\subsection{mucua/serializers.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mucua/serializers.py}

\subsection{mucua/views.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mucua/views.py}

%\subsection{mucua/signals.py}
%lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mucua/signals.py}

%\subsection{mucua/urls.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mucua/urls.py}

\section{mocambola}

\subsection{mocambola/models.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mocambola/models.py}

%\subsection{mocambola/serializers.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mocambola/serializers.py}

\subsection{mocambola/views.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/mocambola/views.py}



\section{tag}

\subsection{tag/models.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/tag/models.py}

\subsection{tag/serializers.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/tag/serializers.py}

\subsection{tag/views.py}
\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/tag/views.py}

%\subsection{tag/signals.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/tag/signals.py}

%\subsection{tag/urls.py}
%\lstinputlisting[basicstyle={\scriptsize\ttfamily}]{\codeFolder/tag/urls.py}


