
63-6 Industrial Communication Systems
63.3.7 Add the Application
e previous step activated the default administration site, but without the required application. In
order to add the Document module into the application, a le named admin.py needs to be created
in \paper _ system\documents directory and the code inside could be
from paper _ system.documents.models import Document
from django.contrib import admin
admin.site.register(Document)
e
up
dated
We
b
sit
e
is sh
own
in Fi
gure
63
.10.
FIGURE 63.8 Activated admin site.
FIGURE 63.9 Default administration management site.
FIGURE 63.10 Administration management site with Document module.