faq package
admin
apps
models
- class faq.models.Faq(id, de_question, de_answer, en_question, en_answer)
Bases:
django.db.models.base.Model- exception DoesNotExist
Bases:
django.core.exceptions.ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
django.core.exceptions.MultipleObjectsReturned
- de_answer
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- de_question
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- en_answer
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- en_question
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
serializers
- class faq.serializers.FaqSerializer(*args, **kwargs)
Bases:
rest_framework.serializers.ModelSerializer- class Meta
Bases:
object- fields = '__all__'
- model
alias of
faq.models.Faq