mirror of https://github.com/interlegis/sapl.git
Eduardo Edson Batista Cordeiro Alves
8 years ago
1 changed files with 0 additions and 63 deletions
@ -1,63 +0,0 @@ |
|||||
[0;31mInit signature:[0m [0mSessaoPlenaria[0m[0;34m([0m[0;34m*[0m[0margs[0m[0;34m,[0m [0;34m**[0m[0mkwargs[0m[0;34m)[0m[0;34m[0m[0m |
|
||||
[0;31mSource:[0m |
|
||||
[0;32mclass[0m [0mSessaoPlenaria[0m[0;34m([0m[0mmodels[0m[0;34m.[0m[0mModel[0m[0;34m)[0m[0;34m:[0m[0;34m[0m |
|
||||
[0;34m[0m [0;31m# TODO trash??? Seems to have been a FK in the past. Would be:[0m[0;34m[0m |
|
||||
[0;34m[0m [0;31m# andamento_sessao = models.ForeignKey([0m[0;34m[0m |
|
||||
[0;34m[0m [0;31m# AndamentoSessao, blank=True, null=True)[0m[0;34m[0m |
|
||||
[0;34m[0m [0;31m# TODO analyze querying all hosted databases ![0m[0;34m[0m |
|
||||
[0;34m[0m [0mcod_andamento_sessao[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mPositiveIntegerField[0m[0;34m([0m[0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m [0mnull[0m[0;34m=[0m[0;32mTrue[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m[0;34m[0m |
|
||||
[0;34m[0m [0mtipo[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mForeignKey[0m[0;34m([0m[0mTipoSessaoPlenaria[0m[0;34m,[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Tipo'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0msessao_legislativa[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mForeignKey[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mSessaoLegislativa[0m[0;34m,[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Sessão Legislativa'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mlegislatura[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mForeignKey[0m[0;34m([0m[0mLegislatura[0m[0;34m,[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Legislatura'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0;31m# XXX seems to be empty[0m[0;34m[0m |
|
||||
[0;34m[0m [0mdata_inicio[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mDateField[0m[0;34m([0m[0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Abertura'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mhora_inicio[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mCharField[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mmax_length[0m[0;34m=[0m[0;36m5[0m[0;34m,[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Horário (hh:mm)'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mhora_fim[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mCharField[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mmax_length[0m[0;34m=[0m[0;36m5[0m[0;34m,[0m [0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Horário (hh:mm)'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mnumero[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mPositiveIntegerField[0m[0;34m([0m[0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Número'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mdata_fim[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mDateField[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m [0mnull[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Encerramento'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0murl_audio[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mURLField[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mmax_length[0m[0;34m=[0m[0;36m150[0m[0;34m,[0m [0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'URL Arquivo Áudio (Formatos MP3 / AAC)'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0murl_video[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mURLField[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mmax_length[0m[0;34m=[0m[0;36m150[0m[0;34m,[0m [0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'URL Arquivo Vídeo (Formatos MP4 / FLV / WebM)'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mupload_pauta[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mFileField[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mnull[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mupload_to[0m[0;34m=[0m[0mpauta_upload_path[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Pauta da Sessão'[0m[0;34m)[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mvalidators[0m[0;34m=[0m[0;34m[[0m[0mrestringe_tipos_de_arquivo_txt[0m[0;34m][0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mupload_ata[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mFileField[0m[0;34m([0m[0;34m[0m |
|
||||
[0;34m[0m [0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mnull[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mupload_to[0m[0;34m=[0m[0mata_upload_path[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Ata da Sessão'[0m[0;34m)[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mvalidators[0m[0;34m=[0m[0;34m[[0m[0mrestringe_tipos_de_arquivo_txt[0m[0;34m][0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0miniciada[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mNullBooleanField[0m[0;34m([0m[0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mchoices[0m[0;34m=[0m[0mYES_NO_CHOICES[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Sessão iniciada?'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mfinalizada[0m [0;34m=[0m [0mmodels[0m[0;34m.[0m[0mNullBooleanField[0m[0;34m([0m[0mblank[0m[0;34m=[0m[0;32mTrue[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mchoices[0m[0;34m=[0m[0mYES_NO_CHOICES[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name[0m[0;34m=[0m[0m_[0m[0;34m([0m[0;34m'Sessão finalizada?'[0m[0;34m)[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m[0;34m[0m |
|
||||
[0;34m[0m [0;32mclass[0m [0mMeta[0m[0;34m:[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name[0m [0;34m=[0m [0m_[0m[0;34m([0m[0;34m'Sessão Plenária'[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m [0mverbose_name_plural[0m [0;34m=[0m [0m_[0m[0;34m([0m[0;34m'Sessões Plenárias'[0m[0;34m)[0m[0;34m[0m |
|
||||
[0;34m[0m[0;34m[0m |
|
||||
[0;34m[0m [0;32mdef[0m [0m__str__[0m[0;34m([0m[0mself[0m[0;34m)[0m[0;34m:[0m[0;34m[0m |
|
||||
[0;34m[0m [0;32mreturn[0m [0m_[0m[0;34m([0m[0;34m'%(numero)sª Sessão %(tipo_nome)s'[0m[0;34m[0m |
|
||||
[0;34m[0m [0;34m' da %(sessao_legislativa_numero)sª Sessão Legislativa'[0m[0;34m[0m |
|
||||
[0;34m[0m [0;34m' da %(legislatura_id)sª Legislatura'[0m[0;34m)[0m [0;34m%[0m [0;34m{[0m[0;34m[0m |
|
||||
[0;34m[0m[0;34m[0m |
|
||||
[0;34m[0m [0;34m'numero'[0m[0;34m:[0m [0mself[0m[0;34m.[0m[0mnumero[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0;34m'tipo_nome'[0m[0;34m:[0m [0mself[0m[0;34m.[0m[0mtipo[0m[0;34m.[0m[0mnome[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0;34m'sessao_legislativa_numero'[0m[0;34m:[0m [0mself[0m[0;34m.[0m[0msessao_legislativa[0m[0;34m.[0m[0mnumero[0m[0;34m,[0m[0;34m[0m |
|
||||
[0;34m[0m [0;31m# XXX check if it shouldn't be legislatura.numero[0m[0;34m[0m |
|
||||
[0;34m[0m [0;34m'legislatura_id'[0m[0;34m:[0m [0mself[0m[0;34m.[0m[0mlegislatura[0m[0;34m.[0m[0mnumero[0m[0;34m}[0m[0;34m[0m[0m |
|
||||
[0;31mFile:[0m ~/Documents/sapl/sapl/sessao/models.py |
|
||||
[0;31mType:[0m ModelBase |
|
Loading…
Reference in new issue