Supported Filters

From NDjango
Revision as of 13:23, 28 July 2010 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Most Django default filters have been implemented, except where otherwise stated. Filter implementation is an on-going process, and we will be updating this page as new ones become available.

The python implementation just sends the value to the list constructor. C# looks for an IEnumerable interface implementation, and if it's not implemented, the value is converted to string, and then split to characters. This is useful when passing number as value.

In NDjango slice is not special mapped subset of array items, but it's just another array assembled from selected items.

This filter will ignore non-ASCII symbols while converting to ASCII, whereas python implementation will convert characters like ü to a simple u.

This filter uses + instead of %20. Also, encoded hexadecimal sequences are written using lower-case a..f.

At this moment NDjango implementation doesn't recognize null, treating it as False.