django-report-builder | github mirror for django-report-builder
kandi X-RAY | django-report-builder Summary
kandi X-RAY | django-report-builder Summary
A GUI for Django ORM. Build custom queries and display results. Targets sys admins and capable end users who might not be able to program or gain direct interactive shell access.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Render the report to a list
- Filters the filter property
- Adds aggregation functions to the queryset
- Returns a list of invalid display fields
- Handles POST requests
- Get fields for a given model
- Returns a list of custom fields for a given model class
- Return a list of direct fields from a model class
- Returns a list of related fields
- Get related fields
- Get relation fields from a model
- Generate a report
- Builds a csv response
- Copy a report
- Create a copy of a report
- Render a single report
- Save the object
- Clean filter fields
- Return a list of field namesets
- Update the position of the display field
- Render the report
- Get choices dictionary
- Check if a scheduled report is scheduled
- Save report asynchronously
- Get choices for the field
- Return choices for this field
django-report-builder Key Features
django-report-builder Examples and Code Snippets
Community Discussions
Trending Discussions on django-report-builder
QUESTION
I installed django-report-builder and followed the configuration like:
- pip install django-report-builder
- Add report_builder to INSTALLED_APPS
- Add url(r'^report_builder/', include('report_builder.urls')) to url.py url patterns 4.Ensure django.core.context_processors.static and django.core.context_processors.media are in TEMPLATE_CONTEXT_PROCESSORS Note: For Django 1.8+ template context processors have been moved from django.core.context_processors to django.template.context_processors. The settings for template context processors have moved from TEMPLATE_CONTEXT_PROCESSORS to be part of the template engine specific configuration in TEMPLATES, as described here.
5.Sync your database. python manage.py migrate
6.Use Django admin or navigate to /report_builder/
requirement:
I am trying to customize
...ANSWER
Answered 2017-Jul-11 at 14:23You don't need to edit report_builder/base.html
. You can extend that template and overwrite the block
's, but looking at the source code, there is not so much to modify from this template. Maybe you want to inherit from spa.html.
In either way, to override a template:
Create a template file in your
templates/appname
directory with the following content:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install django-report-builder
Start docker docker-compose up
Migrate and create an admin user docker-compose run --rm web ./manage.py migrate
Start the Angular CLI server. Ensure Node is installed. cd js, yarn, yarn start
Django runs on port 8000 by default. Go to localhost:8000/admin and log in.
Angular runs on port 4200. Now that you are logged in, go to localhost:4200
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page