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
- 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.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.1.1.tar.gz
.
File metadata
- Download URL: django-app-requires-0.1.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac76bd7a50a17afd04d20f40f2ada788a7c803ca413519b1a601c8c0cefca59 |
|
MD5 | c5a4f97f657c577f337ac1406d3da986 |
|
BLAKE2b-256 | 148ba05cea5e3697e8ff376dac1244d071f0e79fc9d5dbb5420dd57e140675c4 |