A simple tools auto add app extra requires.
Project description
django-app-requires
A simple tools auto add app extra requires.
Install
pip install django-app-requires
Usage
pro/settings
INSTALLED_APPS = [
...
'django_app_requires',
...
]
from django_app_requires import add_requires
INSTALLED_APPS = add_requires(INSTALLED_APPS)
- If your django application requires extra application, then add
app_requires = ["your", "required", "apps"]
in theapp/__init__.py
file. - In project using your application, add belowe code to the
pro/settings.py
afterINSTALLED_APPS
.from django_app_requires import add_requires INSTALLED_APPS = add_requires(INSTALLED_APPS)
Releases
v0.2.0 2020/10/25
- Add collect_requirements function.
v0.1.1 2020/09/25
- Add fastutils & magic-import in requirements.txt.
- Fix problem of recursive required.
v0.1.0 2020/09/23
- First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-app-requires-0.2.0.tar.gz
.
File metadata
- Download URL: django-app-requires-0.2.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 078a005c4af5577b843cb4f46e6f8a954e7504ad964593bbddd641c61f504f3f |
|
MD5 | 4f3eca6afc84a0fbba419906a2476967 |
|
BLAKE2b-256 | 9fd59fced048b674c4aaf8f66e755e39cee561b929865eff576cb83a4070b0a1 |