advicer - rejstr tagów (dawniej rejestr porad)

Aplikacja służy do tagowania spraw (dawniej: rejestracji porad) udzielonych zarówno w ramach systemu spraw (:doc:/modules/cases.rst), jak również poza jego obiegiem. Przeznaczeniem aplikacji jest gromadzenie danych statystycznych o udzielonych poradach na potrzeby działań crownfundingowcyh, przedstawianie danych grantodawcom, promocji działań itp. Narzędzie dostarcza dane o charakterze ilościowym na temat zakresu udzielanego wsparcia, uwzględniając drogę mailowa, telefoniczną, ustną i szkoleniową.

Model

class poradnia.advicer.models.AbstractCategory(*args, **kwargs)[źródło]
Parametry:

name (CharField) – Nazwa

class poradnia.advicer.models.Advice(id, case, subject, person_kind, institution_kind, advicer, grant_on, created_by, created_on, helped, modified_by, modified_on, visible, comment, jst)[źródło]
Parametry:
  • id (AutoField) – Id

  • case_id (OneToOneField to poradnia.cases.models.Case) – Sprawa

  • subject (CharField) – Przedmiot

  • person_kind_id (ForeignKey to poradnia.advicer.models.PersonKind) – Rodzaj osoby, która się zgłasza o poradę

  • institution_kind_id (ForeignKey to poradnia.advicer.models.InstitutionKind) – Rodzaj podmiotu zobowiązanego

  • advicer_id (ForeignKey to poradnia.users.models.User) – Osoba, która udzieliła porady

  • grant_on (DateTimeField) – Udzielona o

  • created_by_id (ForeignKey to poradnia.users.models.User) – Utworzony przez

  • created_on (DateTimeField) – Data utworzenia

  • helped (BooleanField) – Czy udzieliliśmy porady?

  • modified_by_id (ForeignKey to poradnia.users.models.User) – Zmodyfikowany przez

  • modified_on (DateTimeField) – Data modyfikacji

  • visible (BooleanField) – Widoczne

  • comment (TextField) – Komentarz

  • jst_id (ForeignKey to poradnia.teryt.models.JST) – Jednostka podziału terytorialnego

exception DoesNotExist
exception MultipleObjectsReturned
class poradnia.advicer.models.AdviceQuerySet(model=None, query=None, using=None, hints=None)[źródło]
class poradnia.advicer.models.Area(id, name)[źródło]
Parametry:
  • id (AutoField) – Id

  • name (CharField) – Nazwa

exception DoesNotExist
exception MultipleObjectsReturned
class poradnia.advicer.models.Attachment(id, attachment, advice)[źródło]
Parametry:
exception DoesNotExist
exception MultipleObjectsReturned
class poradnia.advicer.models.InstitutionKind(id, name)[źródło]
Parametry:
  • id (AutoField) – Id

  • name (CharField) – Nazwa

exception DoesNotExist
exception MultipleObjectsReturned
class poradnia.advicer.models.Issue(id, name)[źródło]
Parametry:
  • id (AutoField) – Id

  • name (CharField) – Nazwa

exception DoesNotExist
exception MultipleObjectsReturned
class poradnia.advicer.models.PersonKind(id, name)[źródło]
Parametry:
  • id (AutoField) – Id

  • name (CharField) – Nazwa

exception DoesNotExist
exception MultipleObjectsReturned

Widoki

class poradnia.advicer.views.AdviceAjaxDatatableView(**kwargs)[źródło]

View to provide table list of all Advices with ajax data.

Parametry:

url_nameadvicer:advice_table_ajax_data

get_column_defs(request)[źródło]

Override to customize based of request

model

alias of Advice

class poradnia.advicer.views.AdviceCreate(**kwargs)[źródło]
Parametry:

url_nameadvicer:create

form_class

alias of AdviceForm

get_initial(*args, **kwargs)[źródło]

Return the initial data to use for forms on this view.

inline_form_cls

alias of AttachmentForm

inline_model

alias of Attachment

model

alias of Advice

class poradnia.advicer.views.AdviceDelete(**kwargs)[źródło]
Parametry:

url_nameadvicer:delete

model

alias of Advice

class poradnia.advicer.views.AdviceDetail(**kwargs)[źródło]
Parametry:

url_nameadvicer:detail

get_context_data(**kwargs)[źródło]

Insert the single object into the context dict.

model

alias of Advice

class poradnia.advicer.views.AdviceList(**kwargs)[źródło]
Parametry:

url_nameadvicer:list

model

alias of Advice

class poradnia.advicer.views.AdviceTableView(**kwargs)[źródło]

View for displaying template with Advices table.

Parametry:

url_nameadvicer:table

class poradnia.advicer.views.AdviceUpdate(**kwargs)[źródło]
Parametry:

url_nameadvicer:update

form_class

alias of AdviceForm

get_form_valid_message()[źródło]

Validate that form_valid_message is set and is either a unicode or str object.

inline_form_cls

alias of AttachmentForm

inline_model

alias of Attachment

model

alias of Advice

class poradnia.advicer.views.AreaAutocomplete(**kwargs)[źródło]
Parametry:

url_nameadvicer:area-autocomplete

model

alias of Area

class poradnia.advicer.views.IssueAutocomplete(**kwargs)[źródło]
Parametry:

url_nameadvicer:issue-autocomplete

model

alias of Issue

Formularze

class poradnia.advicer.forms.AdviceForm(*args, **kwargs)[źródło]
Parametry:
  • case – Sprawa

  • subject – Przedmiot

  • grant_on – Udzielona o

  • issues – Zakresy tematyczne zapytania

  • area – Problemy z zakresu prawa do informacji

  • person_kind – Rodzaj osoby, która się zgłasza o poradę

  • institution_kind – Rodzaj podmiotu zobowiązanego

  • advicer – Radzący

  • comment – Komentarz

  • helped – Czy udzieliliśmy porady?

  • jst – Jednostka podziału terytorialnego

property media

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

class poradnia.advicer.forms.AttachmentForm(*args, **kwargs)[źródło]
Parametry:

attachment – Plik

property media

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