Simple Excel file Generator
Project description
Simple Excel File Generator From Django Model.
Required Packages:
pip install pandas
Usage :
from django_model_to_excel import generate_excel_file
def fun(request):
queryset = User.objects.all().values()
# all_to_excel accepts six parameter
# queryset will be your model data
# file_path : 'your absloute path' or None if it is None fill will store in your project Base Directory
# file_name : 'string' or None
# sheet_name : 'string' or None
# index and header : Boolean
generate_excel = generate_excel_file.all_to_excel(queryset, file_path, file_name, sheet_name, index, header)
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
Close
Hashes for django_model_to_excel-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a63a1bf6bddcdfd03dcfca70238f88e12aca8ba3d438980dedfcbd0a54f6d3a |
|
MD5 | 47eefb2fc1f3427422c35f3c68804741 |
|
BLAKE2b-256 | c10fd37c2c32ca1481a3bc44a7115d6a4ee1ac8749019d04aa47fc0f37a66e16 |
Close
Hashes for django_model_to_excel-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b735a58031d88050ad095dedee9432b0cabfa0ba77e3f5a2bd2eb66332c6e81 |
|
MD5 | 75027fa0d4391ddbd7d2cc834567ec0c |
|
BLAKE2b-256 | a894a95518f2cec3230b0709a38f276d7cc0f5b393c28151664ce2858f07a63e |