Skip to content

Commit

Permalink
fix(pictures): tup-308 only working export formats
Browse files Browse the repository at this point in the history
1. Only let users export with supported formats.
2. Update form version to rev. that supports this.

Source: avryhof/djangocms-forms#8
  • Loading branch information
wesleyboar committed Jul 8, 2022
1 parent d0e4b0a commit 34f51d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ djangocms-blog = "1.1.1"
djangocms-bootstrap4 = "2.0.0"
djangocms-column = "1.11.0"
djangocms-file = "3.0.0"
djangocms-forms-maintained = { git = "https://github.com/avryhof/djangocms-forms", rev = "30f464303d317cf7a3170ad64e11ab4471b4287b" }
djangocms-forms-maintained = { git = "https://github.com/avryhof/djangocms-forms", rev = "ab38b2239b93c8a275cee3b4b1a7880731486c07" }
djangocms-googlemap = "2.0.0"
djangocms-icon = "2.0.0"
djangocms-link = "3.0.0"
Expand Down
5 changes: 5 additions & 0 deletions taccsite_cms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,11 @@ def get_subdirs_as_module_names(path):
'h1', 'h2', 'h3', 'h4', 'h5', 'h6'
]

DJANGOCMS_FORMS_FORMAT_CHOICES = (
("csv", _("CSV")),
("json", _("JSON")),
)

# https://github.com/nephila/django-meta
META_SITE_PROTOCOL = 'http'
META_USE_SITES = True
Expand Down

0 comments on commit 34f51d6

Please sign in to comment.