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 rest_framework import serializers |
||||
|
|
||||
from .models import SessaoPlenaria |
from .models import SessaoPlenaria |
||||
|
|
||||
|
|
||||
class SessaoPlenariaSerializer(serializers.ModelSerializer): |
class SessaoPlenariaSerializer(serializers.ModelSerializer): |
||||
|
|
||||
class Meta: |
class Meta: |
||||
model = SessaoPlenaria |
model = SessaoPlenaria |
||||
fields = ('tipo', 'legislatura', 'sessao_legislativa') |
fields = ('tipo', 'legislatura', 'sessao_legislativa') |
||||
|
Loading…
Reference in new issue