Create Excel tables with Django using easy-to-use software. Input data directly from Django and receive output in Excel format. Perfect for managing large amounts of information or generating reports.
For simple cases, the plugin sniffs the model and creates an excel table. In medium cases, predetermined styles such as fonts, colors, and layout can be applied. In advanced cases, models can be modified with custom styles, and the plugin supports tally totals, formula support, graphs, and sub-tables based on many-to-many or foreign keys.
To install the tool, users are required to get Epydoc and Python setup. The documentation includes examples that demonstrate how to use different features of the plugin.
For basic cases, users can import Django_excel_templates and create an Excel report using ExcelReport. Then, by calling the nextsheet function, users can create a new worksheet in the report, specifying its name. Users can add one instance (testobj) horizontally to the report, with a specified style, and set the style of the report as None.
In medium cases, users can create a new style using ExcelStyle, set various attributes, and then add one instance horizontally to the report, with the new style.
In more advanced cases, users can modify styles previously created using ExcelStyle and then add one instance horizontally to the report, with the modified style.
Overall, Django_excel_templates is a powerful tool for creating Excel documents for views using a template system that provides many options for customizable styling.
Version 0.1: N/A