mirror of https://github.com/interlegis/sapl.git
Edward Ribeiro
9 years ago
5 changed files with 21 additions and 16 deletions
@ -1,8 +1,10 @@ |
|||
from rest_framework import serializers |
|||
|
|||
from .models import SessaoPlenaria |
|||
|
|||
|
|||
class SessaoPlenariaSerializer(serializers.ModelSerializer): |
|||
|
|||
class Meta: |
|||
model = SessaoPlenaria |
|||
fields = ('tipo', 'legislatura', 'sessao_legislativa') |
|||
class Meta: |
|||
model = SessaoPlenaria |
|||
fields = ('tipo', 'legislatura', 'sessao_legislativa') |
|||
|
Loading…
Reference in new issue