sudo apt-get install python3-pip
sudo pip3 install virtualenv
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
| # coding: utf-8 | |
| from weasyprint import HTML, CSS | |
| def get_page_body(boxes): | |
| for box in boxes: | |
| if box.element_tag == 'body': | |
| return box |
from django.http import HttpResponse
from .utils import queryset_to_workbook
def download_workbook(request):
queryset = User.objects.all()
columns = (
'first_name',
'last_name',
'email',