Last Updated: February 25, 2016
·
3.181K
· d1p

Sub Applications in Django.

Django is awesome. But when you are maintaining a huge project apps gets annoying.
Like, Your Project have a Dashboard app. Settings App, Ice cream App. Where you never use Settings,Ice cream outside of Dashboard.
In this case this application architecture looks more good.

| Main_App_____
|
--- Dashboard_App
|
------- Settings_App
|
------- Ice_cream_App

You can do this in django by going to an app and typing django-admin.py startapp AppName
Then Include App in settings.py by

INSTALLED_APPS = (
    'Application.SubApplication', #Where In Example it is Dashboard.Settings
)

That's it!