Django-octopus

Latest version: v0.4.1

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

Scan your dependencies

Page 1 of 2

1.0

0.4.1

New Features

* Added tag to clear certain elements when clicked

Bug fixes

* Fixed title insertion and HTML parsin
* Stopped propagation on clicks
* Fixed fadeout conflict when insert=self

0.4

This is an aggressive update that breaks backwards compatibility in
just about every way, but seeing that no one really uses it, the fallout
should be minimal :)

New features

* Proxy templates are no longer used to switch between full and ajax
requests. You now just define blocks named `fragment` in your
templates.
* Titles are included directly in the response. Before, titles were
defined on the link itself. Now a `title` block is supported to define
title content
* While loading, the target element fades to 30% opacity

Changes

* removed support for python < 3.6
* due to changes in django, new installed apps are required:

INSTALLED_APPS = (
...
'django.contrib.auth',
'django.contrib.contenttypes'
...
)

* changed the template tags' signatures to resemble the typical order of
html tag attributes:

\<a href='/home' data-oc-target="main">text\</text>

{% a '/home' target='main' text='text' %}

* Changed default value for `multi` to `True`
* Switched to using data-* html attributes

Javascript changes

* Added javascript build commands: see `BUILD_INSTRUCTIONS.md` for details
* Includes custom build of jQuery to use only the required components
* Trivial javascript improvements, still needs a lot of work before a

0.3.2

* removed deprecated 'a' tag

0.3.1

* officially added support for django 1.8, 1.9, and 1.10 and python 3.5.
* removed support for EOL versions

0.3

Bug fixes

* fixed bug in the javascript that prevented replaceState() from being called
in FireFox

Changes

* a `title` is now required to engaged the forward/back behavior

* `multi` default value for forms changed to `True`

* the behavior of `self` was modified to fully replace the containing element,
so be sure a single node encapsulates your template fragments if using
`self`

Page 1 of 2

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.