November 2015
Beginner to intermediate
840 pages
26h 30m
English
Before we move on, we should remove our helloworld app, as we no longer need it.
Due to Django’s clean encapsulation of apps, the removal of an app is very straightforward. We must first delete the URL pattern, remove the app from settings.py, and then simply delete the app’s directory.
It is important to stress the utility of app encapsulation. Due to an app’s nature as a Python package, the organization offered by Django apps is potentially one of Django’s more salient features, especially when building a large, complex website. It allows for the rapid and clean addition or removal of apps or features. However, clean app encapsulation is not enforced by Django (it would be impossible to do so) ...
Read now
Unlock full access