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
Version | Released Time | Content | Notice |
---|---|---|---|
v0.1.0 | 2020/09/23 | 1. First release. | |
v0.1.1 | 2020/09/25 | 2. Add fastutils & magic-import in requirements.txt. 3. Fix problems of recursive required. |
|
v0.2.0 | 2020/10/25 | 4. Add collect_requirements function. | Removed |
v0.2.1 | 2020/10/26 | 5. Don't scan all app, exclude third-part apps. 6. Suggest to use collect_requirements command before doing project package. |
|
v0.2.2 | 2020/10/26 | 7. Output sorting. | |
v0.2.3 | 2021/04/12 | 8. Remove collect_requirements command. 9. Test with Django 3.2. |
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
Close
Hashes for django-app-requires-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abac0ec102e079ae8362f68b563e2cdd755b0f828f6196b611218454cc9d64d7 |
|
MD5 | a3466402715a46e660180e66aa28aebd |
|
BLAKE2b-256 | 51df6ef7a59fbfc41d1e7b0ac2a2e260f45998a6c4d8e7305fb83bc5fadb3a8d |