shoop.front.apps.customer_information package¶
Submodules¶
shoop.front.apps.customer_information.forms module¶
-
class
shoop.front.apps.customer_information.forms.
PersonContactForm
(*args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
PersonContact
-
fields
= ('first_name', 'last_name', 'phone', 'email', 'gender', 'marketing_permission')¶
-
-
PersonContactForm.
base_fields
= OrderedDict([('first_name', <django.forms.fields.CharField object at 0x7f5304c74588>), ('last_name', <django.forms.fields.CharField object at 0x7f5304c746a0>), ('phone', <django.forms.fields.CharField object at 0x7f5304c74128>), ('email', <django.forms.fields.EmailField object at 0x7f5304c742e8>), ('gender', <enumfields.forms.EnumChoiceField object at 0x7f5304c74470>), ('marketing_permission', <django.forms.fields.BooleanField object at 0x7f5304c74048>)])¶
-
PersonContactForm.
declared_fields
= OrderedDict()¶
-
PersonContactForm.
media
¶
-
class
-
class
shoop.front.apps.customer_information.forms.
AddressForm
(*args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
MutableAddress
-
fields
= ('name', 'phone', 'email', 'street', 'street2', 'postal_code', 'city', 'region', 'country')¶
-
-
AddressForm.
base_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f5304c74940>), ('phone', <django.forms.fields.CharField object at 0x7f5304c74ac8>), ('email', <django.forms.fields.EmailField object at 0x7f5304c74c88>), ('street', <django.forms.fields.CharField object at 0x7f5304c74dd8>), ('street2', <django.forms.fields.CharField object at 0x7f5304c74f60>), ('postal_code', <django.forms.fields.CharField object at 0x7f5304c3e128>), ('city', <django.forms.fields.CharField object at 0x7f5304c3e2b0>), ('region', <django.forms.fields.CharField object at 0x7f5304c3e438>), ('country', <django_countries.fields.LazyTypedChoiceField object at 0x7f5304c3e630>)])¶
-
AddressForm.
declared_fields
= OrderedDict()¶
-
AddressForm.
media
¶
-
class
-
class
shoop.front.apps.customer_information.forms.
CompanyContactForm
(*args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
CompanyContact
-
fields
= ('name', 'tax_number', 'phone', 'email', 'marketing_permission')¶
-
-
CompanyContactForm.
base_fields
= OrderedDict([('name', <django.forms.fields.CharField object at 0x7f5304c3ea90>), ('tax_number', <django.forms.fields.CharField object at 0x7f5304c3eda0>), ('phone', <django.forms.fields.CharField object at 0x7f5304c3e908>), ('email', <django.forms.fields.EmailField object at 0x7f5304c3ec50>), ('marketing_permission', <django.forms.fields.BooleanField object at 0x7f5304c3e828>)])¶
-
CompanyContactForm.
declared_fields
= OrderedDict()¶
-
CompanyContactForm.
media
¶
-
class
shoop.front.apps.customer_information.urls module¶
shoop.front.apps.customer_information.views module¶
-
class
shoop.front.apps.customer_information.views.
CustomerEditView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.FormView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shoop/customer_information/edit_customer.jinja'¶
-
get_form
(form_class=None)¶
-
-
class
shoop.front.apps.customer_information.views.
CompanyEditView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.FormView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shoop/customer_information/edit_company.jinja'¶
-
get_form
(form_class=None)¶
-
Module contents¶
-
class
shoop.front.apps.customer_information.
AppConfig
(*args, **kwargs)[source]¶ Bases:
shoop.apps.AppConfig
-
name
= 'shoop.front.apps.customer_information'¶
-
verbose_name
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
label
= 'shoop_front.customer_information'¶
-
provides
= {'front_urls': ['shoop.front.apps.customer_information.urls:urlpatterns']}¶
-