A Django app for auditing a django project
Project description
Djangaudit
Djangaudit is a tool to help you audit your Django project. It will help you to find common security issues in your project.
Installation
pip install djangaudit
Then, add it to your installed apps:
INSTALLED_APPS = [
...
'djangaudit',
...
]
Usage
python manage.py audit_project
What does it check?
- Checking for large Python files (based on the AUDIT_MAX_LINES_PER_FILE setting): This is to help you identify files that are too large and may be difficult to maintain.
- Checking for init.py files with code: This is to help you identify if you take advantage of the init.py files to execute code.
- Checking the line length of Python files. The checker indicates the number of lines by groups (less than 80 characters wide, between 80 and 100, between 100 and 120, more than 120).
- Check the versions of the libraries used in the project. The checker indicates if there are newer versions of the libraries used in the project.
Contribute
This package is a very humble django application that I created to help me audit my projects. If you have any suggestions, please feel free to open an issue or a pull request.
License
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file djangaudit-0.1.0.tar.gz.
File metadata
- Download URL: djangaudit-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
471ad87352bbaf7ed86d6ee2ee3bc415b3d7c108b7d764df848a3f0c266c9345
|
|
| MD5 |
563239e1c7d62c1d80dfd225cb1cd1e5
|
|
| BLAKE2b-256 |
a942e5e509d991ed4f25fac3e8ff86ada8b582b9986ab5061042aa1db6d6ae58
|
File details
Details for the file djangaudit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: djangaudit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19ab682ac42bd56ccf2f70d514a4633210f3fcb8e00a4a381b00cc37678ece48
|
|
| MD5 |
a07a0af6099a999234955ccc41b589e5
|
|
| BLAKE2b-256 |
f20dfe08851390f8d0d8c29279725c14d76c9b6abdddabf714e1faf6d4567ea1
|