Django Create App
This Django package customizes the startapp command to create new apps inside a directory specified by the DEFAULT_APPS_DIR setting in your settings.py. This ensures that all your Django apps are neatly organized within a designated folder structure, helping you maintain a cleaner project structure.
Features
- Modifies the
startappcommand to create apps inside a configurable directory (DEFAULT_APPS_DIR) insettings.py. - Simplifies managing apps within large Django projects by keeping them inside a specific directory.
- Reduces the need to manually move apps after they are created.
Installation
To install the package, add it to your project’s requirements.txt or run the following command:
pip install django-create-app
Configuration
-
Install the
django-create-applike any python packages.pip install django-create-app
-
Update
settings.pyAdd
DEFAULT_APPS_DIRvariable inside your settings.py. This will define the directory where all the apps are to be included. If you left undeclared, "apps" will be used by default.# settings.py ... DEFAULT_APPS_DIR = "apps" ...
-
Now, you can use modified
startappcommand to create new apps insideDEFAULT_APPS_DIRdirectory.
Further Configuration
By Default, django-create-app adds DEFAULT_APPS_DIR at the end of the sys.path but sometime we need to add it to different index. For such case, create DEFAULT_APP_DIR_INDEX variable and assign the index at which the DEFAULT_APPS_DIR is inserted.
Example,
DEFAULT_APPS_DIR = "apps"
DEFAULT_APPS_DIR_INDEX = 0 # This causes python to look for any modules or packages inside "apps" directory first.
Metadata
Release files for django-create-app 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_create_app-1.0.1.tar.gz | 2.9 kB | Without provenance | Details for django_create_app-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_create_app-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for django_create_app-1.0.1-py3-none-any.whl |
Total release size: 6.4 kB
Release files / django_create_app-1.0.1.tar.gz
| Download URL | django_create_app-1.0.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31bc99ca68507760c4527acd8ee3f344d824299bb5d2b6852585d4137579660b
|
|
BLAKE2b-256 checksum How to use checksums |
d9904f379348418d42ac80b21f734bfa89135b4fc5d926af3387d08b9c0fff6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / django_create_app-1.0.1-py3-none-any.whl
| Download URL | django_create_app-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80889e575fcd9683ab3c25f037a1269184499587a2c9c5a38368fc6ab4b01a34
|
|
BLAKE2b-256 checksum How to use checksums |
d092c0dc9fb463020bca3430e79dd2318841bd7f8555a07b4d270735cc9d2f77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Security for django-create-app 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.