Browse Source

Atualiza pacotes

pull/165/head
Sesostris Vieira 2 years ago
parent
commit
9cf040db1e
  1. 6
      requirements/dev-requirements.txt
  2. 32
      requirements/requirements.txt
  3. 6
      sigi/apps/utils/mixins.py

6
requirements/dev-requirements.txt

@ -1,4 +1,4 @@
-r requirements.txt -r requirements.txt
black==23.1.0 black==23.3.0
ipdb==0.13.11 ipdb==0.13.13
pygraphviz==1.10 pygraphviz==1.11

32
requirements/requirements.txt

@ -1,24 +1,24 @@
dnspython==2.3.0 dnspython==2.3.0
docutils==0.19 docutils==0.20.1
gunicorn==20.1.0 gunicorn==20.1.0
ibge==0.0.5 ibge==0.0.5
ipython==8.11.0 ipython==8.14.0
moodlepy==0.23.10 moodlepy==0.23.10
pandas==1.5.3 pandas==2.0.2
Pillow==9.4.0 Pillow==9.5.0
psycopg2-binary==2.9.5 psycopg2-binary==2.9.6
python-docx==0.8.11 python-docx==0.8.11
requests==2.28.2 requests==2.31.0
weasyprint==58.0 weasyprint==59.0
XlsxWriter==3.0.8 XlsxWriter==3.1.2
Django==4.1.7 Django==4.2.2
django-auth-ldap==4.1.0 django-auth-ldap==4.3.0
django_debug_toolbar==3.8.1 django-debug-toolbar==4.1.0
django-environ==0.10.0 django-environ==0.10.0
django-extensions==3.2.1 django-extensions==3.2.3
django-filter==22.1 django-filter==23.2
django-import-export==3.1.0 django-import-export==3.2.0
django-localflavor==3.1 django-localflavor==4.0
django-material-admin==1.8.6 django-material-admin==1.8.6
django-tinymce==3.5.0 django-tinymce==3.6.1
django-weasyprint==2.2.0 django-weasyprint==2.2.0

6
sigi/apps/utils/mixins.py

@ -27,9 +27,9 @@ class ValueField(Field):
class ExportFormFields(ExportForm): class ExportFormFields(ExportForm):
def __init__(self, formats, resource_classes, *args, **kwargs): def __init__(self, formats, post, resources, **kwargs):
super().__init__(formats, resource_classes, *args, **kwargs) super().__init__(formats, post, resources=resources, **kwargs)
for i, resource_klass in enumerate(resource_classes): for i, resource_klass in enumerate(resources):
resource = resource_klass() resource = resource_klass()
field_list = list( field_list = list(
zip(resource.get_export_order(), resource.get_export_headers()) zip(resource.get_export_order(), resource.get_export_headers())

Loading…
Cancel
Save