core package

This package contains files used throughout the application, or those that are too general to fit into any other package(like the template overrides).

fec.utils module

fec.templatetags.core_filters module

This module defines general template filters.

fec.templatetags.core_filters.get_first_by(value, stop_char)[source]

Split the string by the stop_char and return the first item.

Parameters:
  • value (string) – The value passed to the filter.
  • stop_char (string) – The character the split the value by.
Returns:

The resultant sub-string.