eucrim.procedure package

Submodules

eucrim.procedure.apps module

class eucrim.procedure.apps.ProcedureConfig(app_name, app_module)[source]

Bases: AppConfig

name = 'eucrim.procedure'

eucrim.procedure.forms module

class eucrim.procedure.forms.ProcedureFilterForm(*args, **kwargs)[source]

Bases: Form

base_fields = {}
declared_fields = {}
property media

Return all media required to render the widgets on this form.

template_name = 'procedure/forms/form.html'
class eucrim.procedure.forms.ProcedurePageForm(data=None, files=None, parent_page=None, subscription=None, *args, **kwargs)[source]

Bases: WagtailAdminPageForm

Override the standard WagtailAdminPageForm for custom validation that appears as a non-field error see: http://docs.wagtail.io/en/stable/advanced_topics/customisation/page_editing_interface.html#customising-generated-forms # noqa: E501

base_fields = {'comment_notifications': <django.forms.fields.BooleanField object>}
clean()[source]

Hook for doing any extra form-wide cleaning after Field.clean() has been called on every field. Any ValidationError raised by this method will not be associated with a particular field; it will have a special-case association with the field named ‘__all__’.

declared_fields = {'comment_notifications': <django.forms.fields.BooleanField object>}
property media

Return all media required to render the widgets on this form.

save(commit=True)[source]

Save this form’s self.instance object if commit=True. Otherwise, add a save_m2m() method to the form which can be called after the instance is saved manually at a later time. Return the model instance.

eucrim.procedure.models module

class eucrim.procedure.models.ProcedureIndexPage(id, path, depth, numchild, translation_key, locale, latest_revision, live, has_unpublished_changes, first_published_at, last_published_at, live_revision, go_live_at, expire_at, expired, locked, locked_at, locked_by, title, draft_title, slug, content_type, url_path, owner, seo_title, show_in_menus, search_description, latest_revision_created_at, alias_of, page_ptr, intro, paginate_at, truncate_subject_at)[source]

Bases: HideShowInMenusField, RoutablePageMixin, Page

exception DoesNotExist

Bases: DoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

exception NotUpdated

Bases: NotUpdated

ajax_template = None
content_panels = [<wagtail.models.panels.PanelPlaceholder object>, <FieldPanel 'intro' with model=None>]
filter_procedures(request, *args, **kwargs)[source]
index_entries

Accessor to the related objects manager on the one-to-many relation created by GenericRelation.

In the example:

class Post(Model):
    comments = GenericRelation(Comment)

post.comments is a ReverseGenericManyToOneDescriptor instance.

intro

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

is_creatable = True
max_count = 1
page_ptr

Accessor to the related object on the forward side of a one-to-one relation.

In the example:

class Restaurant(Model):
    place = OneToOneField(Place, related_name='restaurant')

Restaurant.place is a ForwardOneToOneDescriptor instance.

page_ptr_id
paginate_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

parent_page_types = ['core.HomePage', 'core.Standardpage']
promote_panels = [<MultiFieldPanel with model=None>]
qs = <PageQuerySet [<ProcedurePage: C-625/25>, <ProcedurePage: C-506/25>, <ProcedurePage: C-496/25 P>, <ProcedurePage: C-427/25>, <ProcedurePage: C-416/25 P>, <ProcedurePage: C-293/25>, <ProcedurePage: C-280/25>, <ProcedurePage: C-230/25>, <ProcedurePage: C-222/25>, <ProcedurePage: C-135/25 PPU>, <ProcedurePage: T-099/25>, <ProcedurePage: C-866/24 P>, <ProcedurePage: C-865/24 P>, <ProcedurePage: C-805/24>, <ProcedurePage: C-755/24>, <ProcedurePage: C-743/24>, <ProcedurePage: C-685/24>, <ProcedurePage: C-682/24>, <ProcedurePage: C-666/24>, <ProcedurePage: C-661/24>, '...(remaining elements truncated)...']>
settings_panels = [<wagtail.models.panels.PanelPlaceholder object>, <wagtail.models.panels.CommentPanelPlaceholder object>, <FieldPanel 'paginate_at' with model=None>, <FieldPanel 'truncate_subject_at' with model=None>]
show_in_menus = True
subpage_types = ['procedure.ProcedurePage']
template = 'procedure/procedure_index_page.html'
truncate_subject_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class eucrim.procedure.models.ProcedurePage(id, path, depth, numchild, translation_key, locale, latest_revision, live, has_unpublished_changes, first_published_at, last_published_at, live_revision, go_live_at, expire_at, expired, locked, locked_at, locked_by, title, draft_title, slug, content_type, url_path, owner, seo_title, show_in_menus, search_description, latest_revision_created_at, alias_of, page_ptr, celex_section, celex_case_type, celex_year, celex_case, referring_court, subject, party, ppu, appeal_court, type_of_proceeding, celex_link_cn, celex_link_cc, celex_link_cp, celex_link_cj, celex_link_co, celex_link_cv, celex_link_cx, celex_link_cd, celex_link_tn, celex_link_tc, celex_link_tj, celex_link_to, last_update)[source]

Bases: HideShowInMenusField, Page

class CelexCaseType(*values)[source]

Bases: TextChoices

C_CASE = 'C'
T_CASE = 'T'
exception DoesNotExist

Bases: DoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

exception NotUpdated

Bases: NotUpdated

class TypeOfProceedingChoiceses(*values)[source]

Bases: TextChoices

ACTION_FOR_ANNULMENT = 'Application'
ACTION_FOR_FAILURE_TO_FULFIL_OBLIGATIONS = 'Action'
APPEAL = 'Appeal'
APPLICATION_SEEKING_COMPENSATION = 'Application compensation'
REFERENCE_FOR_PRELIMINARY_RULING = 'Request'
ajax_template = None
appeal_court

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

base_form_class

alias of ProcedurePageForm

categories_areacrime
categories_cooperation
categories_foundation
categories_institution
categories_procedural
celex_case

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

celex_case_type

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

celex_section

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

celex_year

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

content_panels = [<HelpPanel with model=None>, <MultiFieldPanel with model=None>, <FieldPanel 'subject' with model=None>, <FieldPanel 'party' with model=None>, <MultiFieldPanel with model=None>, <MultiFieldPanel with model=None>]
edit_handler = <TabbedInterface with model=None>
full_clean(*args, **kwargs)[source]

Call clean_fields(), clean(), validate_unique(), and validate_constraints() on the model. Raise a ValidationError for any errors that occur.

property get_celex_case_string

Provide a unified string representation for a case/act.

get_celex_case_type_display(*, field=<django.db.models.fields.CharField: celex_case_type>)
classmethod get_celex_fields(case_type)[source]

C-cases should only check celex_link_c* URLs, and T-cases only celex_link_t* URLs.

property get_procedure_index_page
get_type_of_proceeding_display(*, field=<django.db.models.fields.CharField: type_of_proceeding>)
classmethod get_year_choices()[source]
property has_categories
index_entries

Accessor to the related objects manager on the one-to-many relation created by GenericRelation.

In the example:

class Post(Model):
    comments = GenericRelation(Comment)

post.comments is a ReverseGenericManyToOneDescriptor instance.

is_creatable = True
property is_subject_truncated
last_update

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

page_ptr

Accessor to the related object on the forward side of a one-to-one relation.

In the example:

class Restaurant(Model):
    place = OneToOneField(Place, related_name='restaurant')

Restaurant.place is a ForwardOneToOneDescriptor instance.

page_ptr_id
parent_page_types = ['procedure.ProcedureIndexPage']
party

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

ppu

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

preview_modes = []
promote_panels = []
referring_court

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

related_panels = [<MultiFieldPanel with model=None>, <InlinePanel with model=None>]
search_fields = [<SearchField: title>, <AutocompleteField: title>, <FilterField: title>, <FilterField: id>, <FilterField: live>, <FilterField: owner>, <FilterField: content_type>, <FilterField: path>, <FilterField: depth>, <FilterField: locked>, <FilterField: show_in_menus>, <FilterField: first_published_at>, <FilterField: last_published_at>, <FilterField: latest_revision_created_at>, <FilterField: locale>, <FilterField: translation_key>, <SearchField: celex_case>, <SearchField: get_celex_case_string>]
settings_panels = [<wagtail.models.panels.PanelPlaceholder object>, <wagtail.models.panels.CommentPanelPlaceholder object>]
show_in_menus = False
subject

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

subpage_types = []
template = 'procedure/procedure_page.html'
type_of_proceeding

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Bases: RelatedLinkMixin, Orderable, RelatedLink

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

exception NotUpdated

Bases: ObjectNotUpdated, DatabaseError

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

objects = <django.db.models.manager.Manager object>
page

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

page_id
sort_order

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

title

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Module contents