Skip to main content
djinn_contenttypes
===================

This module provides the content type framework for Djinn. Content
types are the 'things' that a user of the system can create, delete,
edit and view.


Views
-----

Djinn uses generic views for content types. Views behave differently
according to how they are called: when called Ajax style or when
modal=1 is passed as parameter, the template rendered will be 'modal',
otherwise a complete HTML page will be rendered. Successfull add and
edit views will return a 'record' like snippet, assuming that they
were called to return an inline template view of the object.

The following views normally apply:

- Creation:
Creation can either use a temporary object, in case the add screen already
provides some means of relating things to the new object, or simply use the
standard add view, that doesn't create anything untill a commit.
The default templates for creation are:
<app label>/<content type name>_add.html
<app label>/<content type name>_add_modal.html
djinn_contenttypes/base_add.html
djinn_contenttypes/base_add_modal.html

- Update: either update or JSON update
<app label>/<content type name>_edit.html
<app label>/<content type name>_edit_modal.html
djinn_contenttypes/base_edit.html
djinn_contenttypes/base_edit_modal.html

- Delete: delete or JSON delete

- View: base view or modal view
<content type module>/<content type name>_modal_detail.html
<content type module>/<content type name>_detail.html
djinn_contenttypes/base_detail.html
djinn_contenttypes/base_detail_modal.html

1.4.10
=====
* fixed membership checks

1.4.7
=====
* django 1.8 compatibility
* date formatting

1.4.6
=====
* publishing mechanism in front-end slightly modified
* link to content-item-detail in searchresults can be overridden

1.4.5
=====
* added support for djinn_likes
* allowing spaces in keywords

1.4.4
=====
* Temporarily switched off history

1.4.3
=====
* improved history behavior

1.4.2
=====
* Removed highlight info
* fixed clean of publish_to

1.4.1
=====
* Hide highlight for non authorized users

1.4.0
=====
* Added highlight model
* Added history mixin to get a better behavior on cancel and delete actions
* changes for publishing mechanism
* new class on buttons for protection of double submit etc.
* move to Django 1.6.x
* Added djinn_workflow
* overhaul of publishing semantics

1.3.0
=====
* Removed protected classes from forms

1.2.9
=====
* added check on valid model for relations
* clean up model backdrop

1.2.8
=====
* Fixes for modal window
* Moved to new keyword widget
* stop event propgation for inline action
* Fixes for search related content

1.2.7
=====
* Fixes for relate and sharing widgets
* Dependency on djinn_forms 1.2.3

1.2.6
=====
* Dependency on djinn_forms 1.2.2

1.2.5
=====
* Return modal on create, to allow chaining

1.2.4
=====
* Fixed missing return on cancel of update view POST

1.2.3
=====
* usergroup choice is now required, but permits empty
* i18n fixes
* Added share view
* PEP8 fixes
* removed some dependencies

1.2.2
====
* Added forms.fields.NoScripCharField

1.2.1
=====
* Fixes for comment model

1.2.0
=====
* Added submit buttons for save and save as draft
* Comment model configurable
* publication can be scheduled

1.1.1
=====
* Translation hotfix

1.1.0
=====
* Well, basically too much to mention...

1.0.2
=====
* Added name override option to url generate, to enable dynamic models

1.0.1
=====
* Added check on group permission, if content is placed in a group

1.0.0
=====
Initial version

Metadata

Release files for djinn_contenttypes 1.4.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djinn_contenttypes 1.4.10
File Size Uploaded
djinn_contenttypes-1.4.10.tar.gz 69.5 kB Details

Release files / djinn_contenttypes-1.4.10.tar.gz

Download URL djinn_contenttypes-1.4.10.tar.gz
Size 69.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a1271b2a78d501e16a5bb44d65a52d8d7099a14916b1f832fdac13b0bc32dc71
BLAKE2b-256 checksum
How to use checksums
3ebfe5cda06aefcaf02f081aae1782b7ae8372078fc80fed92a513056069b1e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.4.10 This release

1 release file

1.4.9

1 release file

1.4.8

1 release file

1.4.7

1 release file

1.4.6

1 release file

1.4.5

1 release file

1.4.4

1 release file

1.4.3

1 release file

1.4.2

1 release file

1.4.1

1 release file

1.4.0

1 release file

1.3.0

1 release file

1.2.9

1 release file

1.2.8

1 release file

1.2.7

1 release file

1.2.6

1 release file

1.2.5

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page