Django-attachments

Latest version: v1.11

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.2

------------------

- Django 1.11 and 2.0 compatibility and tests.

1.1

------------------

- Django 1.10 compatibility and tests.
- Python 3.6 compatibility and tests.
- Fixes problems where models have a foreign key named something other
than "id".

1.0.1

--------------------

- Added finnish translation.
- Minor test suite improvements.

1.0

------------------

- General code cleanup to keep compatibility with the latest Django
(currently 1.8 upwards) as well as Python3. Introduced full testsuite.

- *Backwards incompatible*: The attachment views now use a urlpattern
``namespace`` so you need to adjust the urlpattern::

url(r'^attachments/', include('attachments.urls', namespace='attachments')),

- *Backwards incompatible*: The quotes around the ``as`` variable name
must be removed::

{% get_attachments_for entry as "my_entry_attachments" %}

becomes

{% get_attachments_for entry as my_entry_attachments %}

- *Possibly backwards incompatible*: The old version had bugs around
permissions and were not enforcing it in all places. From now on the
related permissions ``add_attachment`` and ``delete_attachment`` must
been applied to all related users.

0.3.1

--------------------

- Added a note to the README that you should secure your static files.

0.3

------------------

- This version adds more granular control about user permissons. You need
to explicitly add permissions to users who should been able to upload,
delete or delete foreign attachments.

This might be *backwards incompatible* as you did not need to assign
add/delete permissions before!

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.