app_comments package

Submodules

app_comments.admin module

app_comments.apps module

class app_comments.apps.AppCommentsConfig(app_name, app_module)[源代码]

基类:django.apps.config.AppConfig

name = 'app_comments'

app_comments.forms module

class app_comments.forms.AnonymousCommentsForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)[源代码]

基类:django.forms.models.ModelForm

class Meta[源代码]

基类:object

fields = '__all__'
model

app_models.models_comments.AnonymousComments 的别名

base_fields = {'comments': <django.forms.fields.CharField object>, 'email': <django.forms.fields.EmailField object>, 'name': <django.forms.fields.CharField object>, 'phone': <django.forms.fields.CharField object>}
declared_fields = {}
property media

app_comments.models module

app_comments.tests module

app_comments.urls module

app_comments.views module

app_comments.views.alive(request)[源代码]
app_comments.views.leave_comments(request)[源代码]

Module contents